mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-06 00:15:11 -04:00
commit
3ce43a65b6
3 changed files with 7 additions and 2 deletions
|
@ -23,6 +23,7 @@ from nose import with_setup
|
|||
def test_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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue