tempest/tempest/api/identity/admin/v2
Masayuki Igawa f9009b4869 Use assert(Not)Empty,IsNotNone instead of assert(Not)Equal,GreaterEqual(0, len(..
This commit makes to use assert(Not)Empty() or assertIsNotNone() instead
of assert(Not)Equal(0, len(LIST),..) or assertGreaterEqual(0, len()...).
The original code asserts the specified list is empty or not. And we
already have assert(Not)Empty() for it. The method names
"assert(Not)Empty" are straightforward and easy to understand. It makes
the code clean and the assert message could be easier to understand what
is happen than original ones.

Change-Id: I715ec84d9139b1d196275e91212ab40d52a545e1
2017-06-05 23:43:53 +01:00
..
__init__.py Move identity v2 tests to their own folders 2015-03-03 09:34:09 +11:00
test_endpoints.py Use assert(Not)Empty,IsNotNone instead of assert(Not)Equal,GreaterEqual(0, len(.. 2017-06-05 23:43:53 +01:00
test_roles.py Use tempest.lib data_utils - identity 2017-03-10 10:45:39 -08:00
test_roles_negative.py Move the `attr` decorator from test.py to tempest/lib 2017-04-14 11:16:36 +02:00
test_services.py Move the `attr` decorator from test.py to tempest/lib 2017-04-14 11:16:36 +02:00
test_tenant_negative.py Use base.setup_test_tenant to create test tenant 2017-04-20 15:44:58 +08:00
test_tenants.py Use base.setup_test_tenant to create test tenant 2017-04-20 15:44:58 +08:00
test_tokens.py Use base.setup_test_tenant to create test tenant 2017-04-20 15:44:58 +08:00
test_users.py Use assert(Not)Empty,IsNotNone instead of assert(Not)Equal,GreaterEqual(0, len(.. 2017-06-05 23:43:53 +01:00
test_users_negative.py Move the `attr` decorator from test.py to tempest/lib 2017-04-14 11:16:36 +02:00