diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-04-01 18:08:27 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-04-01 18:08:27 +0000 |
| commit | 987977814dff8acb7a13d0f2d27dc20faef88395 (patch) | |
| tree | 4b25107b3316e7df846ae06a607582c2b7552b58 /nova | |
| parent | 95179a0a6d19c75f98db3319477f6a68d9989155 (diff) | |
| parent | 1fefa254616df68fb13913c9a9272405d82b0efb (diff) | |
Merge "Show quota 'in_use' and 'reserved' info"
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/tests/test_nova_manage.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/tests/test_nova_manage.py b/nova/tests/test_nova_manage.py index 49f9f3256..727746b18 100644 --- a/nova/tests/test_nova_manage.py +++ b/nova/tests/test_nova_manage.py @@ -366,7 +366,8 @@ class ProjectCommandsTestCase(test.TestCase): sys.stdout = sys.__stdout__ result = output.getvalue() - self.assertEquals(('instances: unlimited' in result), True) + print_format = "%-36s %-10s" % ('instances', 'unlimited') + self.assertEquals((print_format in result), True) def test_quota_update_invalid_key(self): self.assertRaises(SystemExit, |
