summaryrefslogtreecommitdiffstats
path: root/tests/test_content_types.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_content_types.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_content_types.py')
-rw-r--r--tests/test_content_types.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/test_content_types.py b/tests/test_content_types.py
index 73771569..95a78ab0 100644
--- a/tests/test_content_types.py
+++ b/tests/test_content_types.py
@@ -989,9 +989,7 @@ class XmlTestCase(RestfulTestCase, CoreApiTests):
convert=False)
def test_add_tenant_xml(self):
- """
- verify create a tenant without providing description field
- """
+ """Create a tenant without providing description field."""
token = self.get_scoped_token()
r = self.admin_request(
method='POST',
@@ -1014,9 +1012,7 @@ class XmlTestCase(RestfulTestCase, CoreApiTests):
self.assertEqual(r.result['tenant'].get('description'), "")
def test_add_tenant_json(self):
- """
- verify create a tenant without providing description field
- """
+ """Create a tenant without providing description field."""
token = self.get_scoped_token()
r = self.admin_request(
method='POST',