diff options
author | Ran Benita <ran@unusedvar.com> | 2020-07-18 12:35:13 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-08-03 10:10:43 +0300 |
commit | b8471aa527ab1a21ee66f24e5c23a9773b5b0793 (patch) | |
tree | 37dfeeea501768be711d7faefae6a1c3fcec29d1 /testing/test_pastebin.py | |
parent | 701998bf2c9e91e8b153ef237c96c31294b8b8c7 (diff) | |
download | pytest-b8471aa527ab1a21ee66f24e5c23a9773b5b0793.tar.gz |
testing: fix some docstring issues
In preparation for enforcing some docstring lints.
Diffstat (limited to 'testing/test_pastebin.py')
-rw-r--r-- | testing/test_pastebin.py | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/testing/test_pastebin.py b/testing/test_pastebin.py index 0701641f8..7f88a13eb 100644 --- a/testing/test_pastebin.py +++ b/testing/test_pastebin.py @@ -87,9 +87,7 @@ class TestPaste: @pytest.fixture def mocked_urlopen_fail(self, monkeypatch): - """ - monkeypatch the actual urlopen call to emulate a HTTP Error 400 - """ + """Monkeypatch the actual urlopen call to emulate a HTTP Error 400.""" calls = [] import urllib.error @@ -104,11 +102,9 @@ class TestPaste: @pytest.fixture def mocked_urlopen_invalid(self, monkeypatch): - """ - monkeypatch the actual urlopen calls done by the internal plugin + """Monkeypatch the actual urlopen calls done by the internal plugin function that connects to bpaste service, but return a url in an - unexpected format - """ + unexpected format.""" calls = [] def mocked(url, data): @@ -128,10 +124,8 @@ class TestPaste: @pytest.fixture def mocked_urlopen(self, monkeypatch): - """ - monkeypatch the actual urlopen calls done by the internal plugin - function that connects to bpaste service. - """ + """Monkeypatch the actual urlopen calls done by the internal plugin + function that connects to bpaste service.""" calls = [] def mocked(url, data): |