tempest/tempest/api/identity/admin/v2
lkuchlan a7aac72096 Use assertTrue and assertFalse vs assertEqual
Using assertTrue and assertFalse is more readable while
checking a boolean result.

Note: In the following files we have to use assertEqual,
      since the api returns the value as unicode:
tempest/api/volume/test_volumes_get.py
65:            self.assertEqual('true', fetched_volume['bootable'])
65:            self.assertEqual('true', fetched_volume['bootable'])
114:            self.assertEqual('true', updated_volume['bootable'])
114:            self.assertEqual('true', updated_volume['bootable'])
tempest/api/volume/test_volumes_list.py
188:            self.assertEqual('false', volume['bootable'])
tempest/api/volume/test_volumes_get.py
67:            self.assertEqual('false', fetched_volume['bootable'])
116:            self.assertEqual('false', updated_volume['bootable'])
tempest/api/compute/servers/test_servers_negative.py
533:        self.assertEqual('false', nonbootable_vol['bootable'])

Change-Id: I004a7860847e8361280d3fa105d2dfa97d99bee4
2018-05-15 13:51:35 +03:00
..
__init__.py Move identity v2 tests to their own folders 2015-03-03 09:34:09 +11:00
test_endpoints.py Stop using resource_cleanup in identity_v2 tests 2017-11-09 06:38:09 +00:00
test_roles.py Stop using resource_cleanup in identity_v2 tests 2017-11-09 06:38:09 +00:00
test_roles_negative.py Remove unused variables from api tests 2017-06-14 15:02:23 +02:00
test_services.py Remove unnecessary asserting for 'id' in body 2017-08-01 14:02:51 +08: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 assertTrue and assertFalse vs assertEqual 2018-05-15 13:51:35 +03:00
test_tokens.py Restrict test_list_endpoints_for_token to tempest 2018-01-19 22:01:26 +00:00
test_tokens_negative.py Implement tempest client for keystone v2 token APIs 2017-06-19 14:11:12 +05:30
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