mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-23 08:31:23 -04:00
pep8: fix empty line counts
top level: 2, else 1 I also advice to not put "pass" into empty classes, but rather a docstring instead of "pass".
This commit is contained in:
parent
5deb3f9e0f
commit
179eefae29
16 changed files with 74 additions and 15 deletions
|
@ -19,10 +19,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
from onionshare import web
|
||||
from nose import with_setup
|
||||
|
||||
|
||||
def test_generate_slug_length():
|
||||
"""generates a 26-character slug"""
|
||||
assert len(web.slug) == 26
|
||||
|
||||
|
||||
def test_generate_slug_characters():
|
||||
"""generates a base32-encoded slug"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue