diff options
| author | adroullier <arndt@nive.co> | 2023-10-24 14:01:24 +0200 |
|---|---|---|
| committer | adroullier <arndt@nive.co> | 2023-10-24 14:05:35 +0200 |
| commit | 74d675cea04335a17600a65bee8e0b0c5ca058a7 (patch) | |
| tree | e674f484fbabc9ce359d42f2c3f9e5dbc8c2127e /tests | |
| parent | cbdc4b9ad9bdb20a4e0ad17f9d5af26147b771f9 (diff) | |
| download | pyramid-74d675cea04335a17600a65bee8e0b0c5ca058a7.tar.gz pyramid-74d675cea04335a17600a65bee8e0b0c5ca058a7.tar.bz2 pyramid-74d675cea04335a17600a65bee8e0b0c5ca058a7.zip | |
Fix 'tox -e lint' tests
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_scripts/test_prequest.py | 5 | ||||
| -rw-r--r-- | tests/test_scripts/test_pserve.py | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/tests/test_scripts/test_prequest.py b/tests/test_scripts/test_prequest.py index 97786ec83..d13010d5b 100644 --- a/tests/test_scripts/test_prequest.py +++ b/tests/test_scripts/test_prequest.py @@ -241,7 +241,10 @@ class TestPRequestCommand(unittest.TestCase): def test_command_script_name(self): command = self._makeOne(['', '--method=GET', 'development.ini', '/'],) command.run() - self.assertEqual(self.loader.calls[0]['defaults']['__script__'], 'prequest') + self.assertEqual( + self.loader.calls[0]['defaults']['__script__'], + 'prequest' + ) class Test_main(unittest.TestCase): diff --git a/tests/test_scripts/test_pserve.py b/tests/test_scripts/test_pserve.py index 0b010692a..bdc225c5e 100644 --- a/tests/test_scripts/test_pserve.py +++ b/tests/test_scripts/test_pserve.py @@ -47,7 +47,10 @@ class TestPServeCommand(unittest.TestCase): self.loader.server = lambda x: x inst.run() - self.assertEqual(app.global_conf, {'a': '1', 'b': '2', '__script__': 'pserve'}) + self.assertEqual( + app.global_conf, + {'a': '1', 'b': '2', '__script__': 'pserve'} + ) def test_original_ignore_files(self): msg = 'A change to "ignore_files" was detected' |
