85590e653a
There are two things being fixed here: - In py3 a class is unhashable if it defines an __eq__, but doesn't define a __hash__. testtools.TestCase does this so adding the TestCase's methods into the set of methods to be called fails. The fake Manager class was created to bypass the issue since objects are hashable by default. - In py3 unbound methods are no longer a special object. They are treated the same an any other function object (note I don't mean instance methods). Because of this the TypeError is no longer raised when calling an unbound method without a class instance. To catch the same error in py3 we can get rid of the *args and spell out the arguments. This way when the method is called it will get a TypeError, since not all of the arguments will be passed in (no self, because it's not being called with an instance). An unused callback method was also removed. bp python3 Change-Id: I1d51a47614cdb8dd348c171e6fce644b3b4eec37
10 lines
339 B
Plaintext
10 lines
339 B
Plaintext
keystone.tests.unit.common.test_ldap
|
|
keystone.tests.unit.test_backend_ldap
|
|
keystone.tests.unit.test_backend_ldap_pool
|
|
keystone.tests.unit.test_v2
|
|
keystone.tests.unit.test_v3_auth
|
|
keystone.tests.unit.test_v3_credential
|
|
keystone.tests.unit.test_v3_federation
|
|
keystone.tests.unit.test_v3_oauth1
|
|
keystone.tests.unit.token.test_fernet_provider
|