pep8: use triple double-quotes for docstrings

This commit is contained in:
Thomas Waldmann 2014-11-18 17:39:04 +01:00
parent 0812e371aa
commit d51f762ddd
6 changed files with 12 additions and 12 deletions

View file

@ -21,13 +21,13 @@ from onionshare import OnionShare
from nose import with_setup
def test_choose_port_returns_a_port_number():
"choose_port() returns a port number"
"""choose_port() returns a port number"""
app = OnionShare()
app.choose_port()
assert 1024 <= app.port <= 65535
def test_choose_port_returns_an_open_port():
"choose_port() returns an open port"
"""choose_port() returns an open port"""
app = OnionShare()
# choose a new port
app.choose_port()