diff options
Diffstat (limited to 'novaclient/tests/v1_1')
-rw-r--r-- | novaclient/tests/v1_1/test_services.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/novaclient/tests/v1_1/test_services.py b/novaclient/tests/v1_1/test_services.py index 36f82e40..d66a1110 100644 --- a/novaclient/tests/v1_1/test_services.py +++ b/novaclient/tests/v1_1/test_services.py @@ -37,6 +37,7 @@ class ServicesTest(utils.TestCase): self.assertIsInstance(s, self._get_service_type()) self.assertEqual(s.binary, 'nova-compute') self.assertEqual(s.host, 'host1') + self.assertTrue(str(s).startswith('<Service: ')) def test_list_services_with_hostname(self): svs = self.cs.services.list(host='host2') |