diff options
author | Sergey Lukjanov <slukjanov@mirantis.com> | 2013-06-02 20:41:20 +0400 |
---|---|---|
committer | Sergey Lukjanov <slukjanov@mirantis.com> | 2013-06-03 07:53:21 +0400 |
commit | e3545f828dabe165dc08b2f1670e5f1f19919d0d (patch) | |
tree | ead970c643632ed624c6bda25e902f47cf13b49e /tests/unit/test_lockutils.py | |
parent | 15d8d698b7c67c43dc7a2b0c2c6952734bd2ba66 (diff) | |
download | oslo-e3545f828dabe165dc08b2f1670e5f1f19919d0d.tar.gz oslo-e3545f828dabe165dc08b2f1670e5f1f19919d0d.tar.xz oslo-e3545f828dabe165dc08b2f1670e5f1f19919d0d.zip |
Enable hacking H402 test
H402 one line docstring needs punctuation
Change-Id: Ie848453cace318d8310cdf0234c512f4c1121119
Diffstat (limited to 'tests/unit/test_lockutils.py')
-rw-r--r-- | tests/unit/test_lockutils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/test_lockutils.py b/tests/unit/test_lockutils.py index c37b030..84afa2d 100644 --- a/tests/unit/test_lockutils.py +++ b/tests/unit/test_lockutils.py @@ -75,7 +75,7 @@ class LockTestCase(utils.BaseTestCase): "got mangled") def test_synchronized_internally(self): - """We can lock across multiple green threads""" + """We can lock across multiple green threads.""" saved_sem_num = len(lockutils._semaphores) seen_threads = list() @@ -105,7 +105,7 @@ class LockTestCase(utils.BaseTestCase): "Semaphore leak detected") def test_nested_external_works(self): - """We can nest external syncs""" + """We can nest external syncs.""" tempdir = tempfile.mkdtemp() try: self.config(lock_path=tempdir) @@ -126,7 +126,7 @@ class LockTestCase(utils.BaseTestCase): shutil.rmtree(tempdir) def _do_test_synchronized_externally(self): - """We can lock across multiple processes""" + """We can lock across multiple processes.""" @lockutils.synchronized('external', 'test-', external=True) def lock_files(handles_dir): |