diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2014-09-19 19:10:09 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2014-09-19 19:10:14 +0100 |
commit | 30a0f3c9ed9310635914225aec6995c5b687614e (patch) | |
tree | 7c6d10ca5458a08194260a300d08590d801fe1b4 /deluge/tests/test_torrent.py | |
parent | d0b8e17873328adbd7ac767a875a2a80fa7c5591 (diff) | |
download | deluge-30a0f3c9ed9310635914225aec6995c5b687614e.tar.gz deluge-30a0f3c9ed9310635914225aec6995c5b687614e.tar.bz2 deluge-30a0f3c9ed9310635914225aec6995c5b687614e.zip |
Flake8 pass of entire codebase
* Use the inline '# NOQA' to supress N802 lower-case warnings
Diffstat (limited to 'deluge/tests/test_torrent.py')
-rw-r--r-- | deluge/tests/test_torrent.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deluge/tests/test_torrent.py b/deluge/tests/test_torrent.py index 5bfac30be..1b5b43fd0 100644 --- a/deluge/tests/test_torrent.py +++ b/deluge/tests/test_torrent.py @@ -38,7 +38,7 @@ class TorrentTestCase(unittest.TestCase): config_dir=config_dir) core_config.save() - def setUp(self): + def setUp(self): # NOQA # Save component and set back on teardown self.original_component = deluge.core.torrent.component deluge.core.torrent.component = sys.modules[__name__] @@ -51,7 +51,7 @@ class TorrentTestCase(unittest.TestCase): self.torrent = None return component.start() - def tearDown(self): + def tearDown(self): # NOQA deluge.core.torrent.component = self.original_component def on_shutdown(result): |