From 8a70c60632f3a3520a304ac82fba9915a8e91e1a Mon Sep 17 00:00:00 2001 From: Delirious Lettuce Date: Sat, 8 Jul 2017 11:30:26 -0600 Subject: [PATCH] Modify import (more direct), remove unnecessary parentheses --- test/onionshare_test.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/onionshare_test.py b/test/onionshare_test.py index 020bfae6..f3e35dfc 100644 --- a/test/onionshare_test.py +++ b/test/onionshare_test.py @@ -16,11 +16,12 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . """ + import os import pytest -from onionshare import onionshare +from onionshare import OnionShare class MyOnion: @@ -33,9 +34,9 @@ class MyOnion: return 'test_service_id.onion' -@pytest.fixture() +@pytest.fixture def onionshare_obj(): - return onionshare.OnionShare(MyOnion()) + return OnionShare(MyOnion()) class TestOnionShare: