mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-06 08:25:15 -04:00
Fix tests after refactoring Common
This commit is contained in:
parent
50409167d4
commit
c2fecf8aa4
7 changed files with 73 additions and 79 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue