Commit 769bda8e authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

cyclades: Fix broken tests

Fix some tests that broke because of recent changes in astakosclient.
The 'token' argument has been removed, so all mocking arguments are
shifted by one.
parent a9532b94
......@@ -88,13 +88,13 @@ class NetworkTest(BaseAPITest):
name, args, kwargs =\
commission_resources = args[3]
commission_resources = args[2]
self.assertEqual(commission_resources, {"": 1})
name, args, kwargs =\
serial = Network.objects.get().serial.serial
accepted_serials = args[1]
rejected_serials = args[2]
accepted_serials = args[0]
rejected_serials = args[1]
self.assertEqual(accepted_serials, [serial])
self.assertEqual(rejected_serials, [])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment