summaryrefslogtreecommitdiffstats
path: root/deluge/tests/test_security.py
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2019-11-13 15:43:44 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2019-11-13 15:44:46 +0000
commitbde4e4443efb32ae63e3ee62817dbefcc1790eaf (patch)
tree404e1b4c94799b2d5298bfaad74258942d72d70a /deluge/tests/test_security.py
parented4bc5fa17ec50069c9173fda6efdc801c8b14a6 (diff)
downloaddeluge-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.py6
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)