summaryrefslogtreecommitdiffstats
path: root/deluge/tests
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/tests')
-rw-r--r--deluge/tests/test_security.py6
-rw-r--r--deluge/tests/test_torrentmanager.py2
2 files changed, 4 insertions, 4 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)
diff --git a/deluge/tests/test_torrentmanager.py b/deluge/tests/test_torrentmanager.py
index 74d37bdeb..5cb201984 100644
--- a/deluge/tests/test_torrentmanager.py
+++ b/deluge/tests/test_torrentmanager.py
@@ -82,7 +82,7 @@ class TorrentmanagerTestCase(BaseTestCase):
b'name': b'azcvsupdater_2.6.2.jar',
b'private': 0,
b'pieces': (
- b'\xdb\x04B\x05\xc3\'\xdab\xb8su97\xa9u'
+ b"\xdb\x04B\x05\xc3'\xdab\xb8su97\xa9u"
b'\xca<w\\\x1ef\xd4\x9b\x16\xa9}\xc0\x9f:\xfd'
b'\x97qv\x83\xa2"\xef\x9d7\x0by!\rl\xe5v\xb7'
b'\x18{\xf7/"P\xe9\x8d\x01D\x9e8\xbd\x16\xe3'