mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-24 09:01:17 -04:00
pep8: use triple double-quotes for docstrings
This commit is contained in:
parent
0812e371aa
commit
d51f762ddd
6 changed files with 12 additions and 12 deletions
|
@ -20,11 +20,11 @@ from onionshare import web
|
|||
from nose import with_setup
|
||||
|
||||
def test_generate_slug_length():
|
||||
"generates a 26-character slug"
|
||||
"""generates a 26-character slug"""
|
||||
assert len(web.slug) == 26
|
||||
|
||||
def test_generate_slug_characters():
|
||||
"generates a base32-encoded slug"
|
||||
"""generates a base32-encoded slug"""
|
||||
|
||||
def is_b32(string):
|
||||
b32_alphabet = "01234556789abcdefghijklmnopqrstuvwxyz"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue