Revision 7d4ebdab kamaki/clients/cyclades/test.py
b/kamaki/clients/cyclades/test.py | ||
---|---|---|
470 | 470 |
json_data = dict() |
471 | 471 |
if pool: |
472 | 472 |
json_data['pool'] = pool |
473 |
if address:
|
|
474 |
json_data['address'] = address
|
|
473 |
if address: |
|
474 |
json_data['address'] = address |
|
475 | 475 |
self.assertEqual(post.mock_calls[-1], call(json_data)) |
476 | 476 |
|
477 | 477 |
@patch('%s.floating_ips_get' % cyclades_pkg, return_value=FR()) |
Also available in: Unified diff