Fix tests after refactoring Common

This commit is contained in:
Micah Lee 2018-03-13 02:22:26 -07:00
parent 50409167d4
commit c2fecf8aa4
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
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: