mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-14 16:57:16 -05:00
pep8: remove empty lines at EOF
This commit is contained in:
parent
087102bde4
commit
b7a0293470
@ -33,4 +33,3 @@ def test_get_platform_returns_platform_system():
|
|||||||
"""get_platform() returns platform.system() when ONIONSHARE_PLATFORM is not defined"""
|
"""get_platform() returns platform.system() when ONIONSHARE_PLATFORM is not defined"""
|
||||||
helpers.platform.system = lambda: 'Sega Saturn'
|
helpers.platform.system = lambda: 'Sega Saturn'
|
||||||
assert helpers.get_platform() == 'Sega Saturn'
|
assert helpers.get_platform() == 'Sega Saturn'
|
||||||
|
|
||||||
|
@ -39,4 +39,3 @@ def test_load_strings_loads_other_languages():
|
|||||||
locale.getdefaultlocale = lambda: ('fr_FR', 'UTF-8')
|
locale.getdefaultlocale = lambda: ('fr_FR', 'UTF-8')
|
||||||
strings.load_strings("fr")
|
strings.load_strings("fr")
|
||||||
assert strings._('wait_for_hs') == "En attente du HS:"
|
assert strings._('wait_for_hs') == "En attente du HS:"
|
||||||
|
|
||||||
|
@ -33,5 +33,3 @@ def test_generate_slug_characters():
|
|||||||
return all(char in b32_alphabet for char in string)
|
return all(char in b32_alphabet for char in string)
|
||||||
|
|
||||||
assert is_b32(web.slug)
|
assert is_b32(web.slug)
|
||||||
|
|
||||||
|
|
||||||
|
@ -37,5 +37,3 @@ def write_tempfile(text):
|
|||||||
f.write(text)
|
f.write(text)
|
||||||
f.close()
|
f.close()
|
||||||
return path
|
return path
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user