mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-14 08:49:47 -05:00
Test fix: OnionShare object doesn't have a port until we tell it to get one.
This commit is contained in:
parent
ad2c776a5f
commit
15a917c60e
@ -5,6 +5,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…
Reference in New Issue
Block a user