summaryrefslogtreecommitdiff
path: root/tests/unit/test_swift_store.py
diff options
context:
space:
mode:
authorOleksii Chuprykov <ochuprykov@mirantis.com>2014-09-17 12:34:28 +0300
committerOleksii Chuprykov <ochuprykov@mirantis.com>2014-09-20 21:13:41 +0300
commit71ae81d69c937343c0b7b53e5a9703aeca9c0acd (patch)
tree7280dec59a430435bfc08bd6682e25a3375c12bb /tests/unit/test_swift_store.py
parent692a6cdc6ec516f3cd5fdc600e20c6cb6fc3ca6d (diff)
downloadglance_store-71ae81d69c937343c0b7b53e5a9703aeca9c0acd.tar.gz
Fix H402
Fix `one line docstring needs punctuation.` Remove H402 from ignore list. Change-Id: I0cd3b88467067cdb10d41f86cc94e075da141ac0
Diffstat (limited to 'tests/unit/test_swift_store.py')
-rw-r--r--tests/unit/test_swift_store.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/test_swift_store.py b/tests/unit/test_swift_store.py
index f6b4715..1724172 100644
--- a/tests/unit/test_swift_store.py
+++ b/tests/unit/test_swift_store.py
@@ -269,7 +269,7 @@ class SwiftTests(object):
self.assertEqual(size, 5120)
def test_get(self):
- """Test a "normal" retrieval of an image in chunks"""
+ """Test a "normal" retrieval of an image in chunks."""
uri = "swift://%s:key@auth_address/glance/%s" % (
self.swift_store_user, FAKE_UUID)
loc = get_location_from_uri(uri)
@@ -344,7 +344,7 @@ class SwiftTests(object):
'.is_multiple_swift_store_accounts_enabled',
mock.Mock(return_value=False))
def test_add(self):
- """Test that we can add an image via the swift backend"""
+ """Test that we can add an image via the swift backend."""
reload(swift)
self.store = Store(self.conf)
self.store.configure()
@@ -775,7 +775,7 @@ class TestStoreAuthV1(base.StoreBaseTest, SwiftTests):
return conf
def setUp(self):
- """Establish a clean test environment"""
+ """Establish a clean test environment."""
super(TestStoreAuthV1, self).setUp()
conf = self.getConfig()