diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-08-25 08:08:34 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-08-25 08:08:34 +0000 |
commit | 16f80e78c0aa9f9d00e9414011a497518a090e12 (patch) | |
tree | 21a1dd60ec99d51df113a7213345d6296d2c9a81 /tuskar_ui/test/api_tests/tuskar_tests.py | |
parent | 6f56762191656abef93349f2e68b71839672a364 (diff) | |
parent | a5c32aea36198ea2d15309cd8d7cd45df7f27571 (diff) | |
download | tuskar-ui-16f80e78c0aa9f9d00e9414011a497518a090e12.tar.gz |
Merge "Properly handle provisioning images"
Diffstat (limited to 'tuskar_ui/test/api_tests/tuskar_tests.py')
-rw-r--r-- | tuskar_ui/test/api_tests/tuskar_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tuskar_ui/test/api_tests/tuskar_tests.py b/tuskar_ui/test/api_tests/tuskar_tests.py index 16526a81..3979bd73 100644 --- a/tuskar_ui/test/api_tests/tuskar_tests.py +++ b/tuskar_ui/test/api_tests/tuskar_tests.py @@ -108,8 +108,8 @@ class TuskarAPITests(test.APITestCase): return_value=roles): ret_val = api.tuskar.Role.get_by_image( self.request, plan, image) - self.assertIsInstance(ret_val, api.tuskar.Role) - self.assertEqual(ret_val.name, 'Controller') + self.assertIsInstance(ret_val, list) + self.assertEqual(len(ret_val), 3) def test_parameter_stripped_name(self): plan = api.tuskar.Plan(self.tuskarclient_plans.first()) |