Fix tests after refactoring Common

This commit is contained in:
Micah Lee 2018-03-13 02:22:26 -07:00
parent c1ff40b5b3
commit 37389f85ac
7 changed files with 73 additions and 79 deletions

View file

@ -22,6 +22,7 @@ import os
import pytest
from onionshare import OnionShare
from onionshare.common import Common
class MyOnion:
@ -37,7 +38,8 @@ class MyOnion:
@pytest.fixture
def onionshare_obj():
return OnionShare(MyOnion())
common = Common()
return OnionShare(common, MyOnion())
class TestOnionShare: