diff options
| author | Marcin Lulek <info@webreactor.eu> | 2022-01-07 14:51:48 +0100 |
|---|---|---|
| committer | Marcin Lulek <info@webreactor.eu> | 2022-01-07 14:51:48 +0100 |
| commit | b492e302a5dfe471acb065a79f5b4ec7651f34d3 (patch) | |
| tree | e85dd64335c958d5fa7200ecfc375d29c624f8de /tests | |
| parent | 0ee365dc7195a402a2c04d5d857ccf70d2b6c8a5 (diff) | |
| download | pyramid-b492e302a5dfe471acb065a79f5b4ec7651f34d3.tar.gz pyramid-b492e302a5dfe471acb065a79f5b4ec7651f34d3.tar.bz2 pyramid-b492e302a5dfe471acb065a79f5b4ec7651f34d3.zip | |
make latest black happy
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/pkgs/restbugapp/views.py | 2 | ||||
| -rw-r--r-- | tests/test_config/test_views.py | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/pkgs/restbugapp/views.py b/tests/pkgs/restbugapp/views.py index 6930d3668..d7e253ac2 100644 --- a/tests/pkgs/restbugapp/views.py +++ b/tests/pkgs/restbugapp/views.py @@ -8,7 +8,7 @@ class BaseRESTView: class PetRESTView(BaseRESTView): - """ REST Controller to control action of an avatar """ + """REST Controller to control action of an avatar""" def __init__(self, context, request): super().__init__(context, request) diff --git a/tests/test_config/test_views.py b/tests/test_config/test_views.py index fcccbfba3..72f8f0145 100644 --- a/tests/test_config/test_views.py +++ b/tests/test_config/test_views.py @@ -248,7 +248,7 @@ class TestViewsConfigurationMixin(unittest.TestCase): from pyramid.renderers import null_renderer def view(request): - """ ABC """ + """ABC""" return 'OK' def view_wrapper(fn): @@ -271,7 +271,7 @@ class TestViewsConfigurationMixin(unittest.TestCase): from pyramid.renderers import null_renderer def view(request): - """ ABC """ + """ABC""" return 'OK' def view_wrapper1(fn): @@ -306,7 +306,7 @@ class TestViewsConfigurationMixin(unittest.TestCase): response = Response('OK') def view(request): - """ ABC """ + """ABC""" return response config = self._makeOne(autocommit=True) @@ -3790,7 +3790,7 @@ class Test_preserve_view_attrs(unittest.TestCase): def test_it_different(self): class DummyView1: - """ 1 """ + """1""" __name__ = '1' __module__ = '1' @@ -3808,7 +3808,7 @@ class Test_preserve_view_attrs(unittest.TestCase): """ """ class DummyView2: - """ 2 """ + """2""" __name__ = '2' __module__ = '2' |
