diff options
author | Thomas Waldmann <tw@waldmann-edv.de> | 2014-11-18 18:59:48 +0100 |
---|---|---|
committer | Thomas Waldmann <tw@waldmann-edv.de> | 2014-11-18 18:59:48 +0100 |
commit | 087102bde4ba857b261da269855151ae4beda3a1 (patch) | |
tree | 38653342d3e909630e38e552c297d88825ebaf04 /test | |
parent | f5889d96dd49f821bcba6d9416451881c6814d92 (diff) | |
download | onionshare-087102bde4ba857b261da269855151ae4beda3a1.tar.gz onionshare-087102bde4ba857b261da269855151ae4beda3a1.zip |
pep8: too long lines, reformat lines to < 120 chars. removed redundancy from long_description in setup.py.
note: pep8 usually recommends 80 chars, but I find that impractical and unnecessary - it's not 1980 any more when code was edited on 80x25 terminals.
i was a bit wondering about onionshare-launcher.py - it does a lot of imports, but does not use the imported names.
Diffstat (limited to 'test')
-rw-r--r-- | test/onionshare_helpers_test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/onionshare_helpers_test.py b/test/onionshare_helpers_test.py index 1c7c42d2..ab21b9e6 100644 --- a/test/onionshare_helpers_test.py +++ b/test/onionshare_helpers_test.py @@ -24,7 +24,8 @@ import test_helpers def test_get_platform_on_tails(): """get_platform() returns 'Tails' when hostname is 'amnesia'""" - helpers.platform.uname = lambda: ('Linux', 'amnesia', '3.14-1-amd64', '#1 SMP Debian 3.14.4-1 (2014-05-13)', 'x86_64', '') + helpers.platform.uname = lambda: ('Linux', 'amnesia', '3.14-1-amd64', + '#1 SMP Debian 3.14.4-1 (2014-05-13)', 'x86_64', '') assert helpers.get_platform() == 'Tails' |