diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2019-11-13 15:43:44 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2019-11-13 15:44:46 +0000 |
commit | bde4e4443efb32ae63e3ee62817dbefcc1790eaf (patch) | |
tree | 404e1b4c94799b2d5298bfaad74258942d72d70a /deluge/tests/test_security.py | |
parent | ed4bc5fa17ec50069c9173fda6efdc801c8b14a6 (diff) | |
download | deluge-bde4e4443efb32ae63e3ee62817dbefcc1790eaf.tar.gz deluge-bde4e4443efb32ae63e3ee62817dbefcc1790eaf.tar.bz2 deluge-bde4e4443efb32ae63e3ee62817dbefcc1790eaf.zip |
[Lint] Fix Black and Flake8 issues
For a single element unpack black now also encloses with parentheses to
make it clearer: https://github.com/psf/black/issues/1108
Fix flake8 warnings
Diffstat (limited to 'deluge/tests/test_security.py')
-rw-r--r-- | deluge/tests/test_security.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deluge/tests/test_security.py b/deluge/tests/test_security.py index 379404906..700fc9967 100644 --- a/deluge/tests/test_security.py +++ b/deluge/tests/test_security.py @@ -28,11 +28,11 @@ SECURITY_TESTS = bool(os.getenv('SECURITY_TESTS', False)) class SecurityBaseTestCase(object): if windows_check(): - skip = 'windows can`t run .sh files' + skip = 'windows cannot run .sh files' elif not SECURITY_TESTS: skip = 'Skipping security tests' - http_err = 'can\'t run http tests on daemon' + http_err = 'cannot run http tests on daemon' def __init__(self): self.home_dir = os.path.expanduser('~') @@ -132,7 +132,7 @@ class SecurityBaseTestCase(object): class DaemonSecurityTestCase(BaseTestCase, DaemonBase, SecurityBaseTestCase): if windows_check(): - skip = 'windows can\'t start_core not enough arguments for format string' + skip = 'windows cannot start_core not enough arguments for format string' def __init__(self, testname): super(DaemonSecurityTestCase, self).__init__(testname) |