mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Use assertGreater replace assertTrue
we can use assertGreater(a,b) to replace assertTrue(a>b) Change-Id: Idd92a99bf5fd25785a47645d46bcfcad23ed870a
This commit is contained in:
parent
80ce3bee6f
commit
2e5d6a67f6
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ class ProjectTests(common.IdentityTests):
|
|||
items = self.parse_listing(raw_output)
|
||||
self.assert_table_structure(items, common.BASIC_LIST_HEADERS)
|
||||
self.assertIn(project_name, raw_output)
|
||||
self.assertTrue(len(items) > 0)
|
||||
self.assertGreater(len(items), 0)
|
||||
|
||||
def test_project_set(self):
|
||||
project_name = self._create_dummy_project()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue