mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-04 15:35:13 -04:00
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.
This commit is contained in:
parent
f5889d96dd
commit
087102bde4
5 changed files with 27 additions and 8 deletions
|
@ -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'
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue