[Pkg-anonymity-tools] [onionshare] 62/140: Test fix: OnionShare object doesn't have a port until we tell it to get one.
Ulrike Uhlig
u-guest at moszumanska.debian.org
Mon Sep 29 20:33:47 UTC 2014
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch master
in repository onionshare.
commit 15a917c60ecb691ea2dcf09ab4e8bbc6f3fe7bab
Author: Mason Donahue <masond+github at gmail.com>
Date: Sun Aug 31 15:06:12 2014 -0500
Test fix: OnionShare object doesn't have a port until we tell it to get one.
---
test/onionshare_test.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/onionshare_test.py b/test/onionshare_test.py
index afd955b..b364d95 100644
--- a/test/onionshare_test.py
+++ b/test/onionshare_test.py
@@ -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():
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/onionshare.git
More information about the Pkg-anonymity-tools
mailing list