summaryrefslogtreecommitdiffstats
path: root/tests/test_backend.py
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2013-05-24 11:36:44 -0500
committerDolph Mathews <dolph.mathews@gmail.com>2013-05-24 13:29:58 -0500
commitaf4e96986f6ee45e9e4ccac0b143902362a1a676 (patch)
tree0252ac8e716b8823bd9cb09e0014e5c36683a8ae /tests/test_backend.py
parentb85dec3175c85cc64c4dd1661e6399a6ec706d21 (diff)
downloadkeystone-af4e96986f6ee45e9e4ccac0b143902362a1a676.tar.gz
keystone-af4e96986f6ee45e9e4ccac0b143902362a1a676.tar.xz
keystone-af4e96986f6ee45e9e4ccac0b143902362a1a676.zip
Cleanup docstrings (flake8 H401, H402, H403, H404)
- docstring should not start with a space (flake8 H401) - one line docstring needs punctuation (flake8 H402) - multi line docstring end on new line (flake8 H403) - multi line docstring should start with a summary (flake8 H404) Change-Id: I69b414395930bda739aa01b785ac619fa8bb7d9b
Diffstat (limited to 'tests/test_backend.py')
-rw-r--r--tests/test_backend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_backend.py b/tests/test_backend.py
index e83338c9..d3f830d1 100644
--- a/tests/test_backend.py
+++ b/tests/test_backend.py
@@ -511,7 +511,7 @@ class IdentityTests(object):
self.assertIn('member', roles_ref)
def test_get_roles_for_user_and_domain(self):
- """ Test for getting roles for user on a domain.
+ """Test for getting roles for user on a domain.
Test Plan:
- Create a domain, with 2 users
@@ -567,7 +567,7 @@ class IdentityTests(object):
self.assertEquals(len(roles_ref), 0)
def test_get_roles_for_user_and_domain_404(self):
- """ Test errors raised when getting roles for user on a domain.
+ """Test errors raised when getting roles for user on a domain.
Test Plan:
- Check non-existing user gives UserNotFound