diff --git a/.gitignore b/.gitignore index 6d3f1d6e..c82fed9d 100644 --- a/.gitignore +++ b/.gitignore @@ -37,5 +37,9 @@ nosetests.xml # vim *.swp +# tags +ctags +tags + # OSX .DS_Store diff --git a/.travis.yml b/.travis.yml index 79dd2396..944a9c08 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,8 @@ python: - "2.6" - "2.7" # command to install dependencies -before_install: "sudo apt-get install -y build-essential fakeroot python-all python-stdeb python-flask python-qt4 python-socksipy" -install: "pip install nose flask stem" +before_install: "sudo apt-get install -y build-essential fakeroot python-all python-stdeb python-qt4" +install: "pip install nose flask stem pysocks" # command to run tests script: nosetests test diff --git a/test/onionshare_test.py b/test/onionshare_test.py index cf616def..7896d4c2 100644 --- a/test/onionshare_test.py +++ b/test/onionshare_test.py @@ -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():