Revision 567f49a2 astakosclient/astakosclient/tests.py
b/astakosclient/astakosclient/tests.py | ||
---|---|---|
954 | 954 |
client = AstakosClient("https://example.com") |
955 | 955 |
response = client.issue_one_commission( |
956 | 956 |
token_1, "c02f315b-7d84-45bc-a383-552a3f97d2ad", |
957 |
"system", [("cyclades.vm", 1), ("cyclades.ram", 30000)])
|
|
957 |
"system", {"cyclades.vm": 1, "cyclades.ram": 30000})
|
|
958 | 958 |
except Exception as err: |
959 | 959 |
self.fail("Shouldn't have raised Exception %s" % err) |
960 | 960 |
self.assertEqual(response, commission_successful_response['serial']) |
Also available in: Unified diff