Change unit test class to a less generic name

As per request on [1], I am renaming this class. This class will also
be used for testing methods that add federated attributes in the
future such as create user.

[1]: https://review.openstack.org/#/c/414720/29

Change-Id: I315a2f4d53b6a3a4bba6989cdecc2df7c80c272d
This commit is contained in:
“Richard 2017-01-24 16:28:11 +00:00
parent 35deec22f8
commit 91c2dbde3f
1 changed files with 2 additions and 2 deletions

View File

@ -1031,7 +1031,7 @@ class PasswordValidationTestCase(ChangePasswordTestCase):
expected_status=http_client.BAD_REQUEST)
class UserAPITests(test_v3.RestfulTestCase):
class UserFederatedAttributesTests(test_v3.RestfulTestCase):
def _create_federated_attributes(self):
# Create the idp
idp = {
@ -1064,7 +1064,7 @@ class UserAPITests(test_v3.RestfulTestCase):
return identity_base.filter_user(user_ref.to_dict())
def setUp(self):
super(UserAPITests, self).setUp()
super(UserFederatedAttributesTests, self).setUp()
self.useFixture(database.Database())
self.load_backends()
# Create the federated object