mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-29 01:06:16 -05:00
Modify import (more direct), remove unnecessary parentheses
This commit is contained in:
parent
5132ef8b4f
commit
5b08372b72
@ -16,11 +16,12 @@ GNU General Public License for more details.
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from onionshare import onionshare
|
from onionshare import OnionShare
|
||||||
|
|
||||||
|
|
||||||
class MyOnion:
|
class MyOnion:
|
||||||
@ -33,9 +34,9 @@ class MyOnion:
|
|||||||
return 'test_service_id.onion'
|
return 'test_service_id.onion'
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture
|
||||||
def onionshare_obj():
|
def onionshare_obj():
|
||||||
return onionshare.OnionShare(MyOnion())
|
return OnionShare(MyOnion())
|
||||||
|
|
||||||
|
|
||||||
class TestOnionShare:
|
class TestOnionShare:
|
||||||
|
Loading…
Reference in New Issue
Block a user