mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-06 08:25:15 -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
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue