mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 22:45:03 -04:00
Move GUI tests into tests/ dir and fix conftest related stuff so everything loads what it needs and passes
This commit is contained in:
parent
1043be4483
commit
10cdfa7631
31 changed files with 25 additions and 189 deletions
|
@ -1,24 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
import pytest
|
||||
import unittest
|
||||
|
||||
from .TorGuiShareTest import TorGuiShareTest
|
||||
|
||||
class ShareModeTest(unittest.TestCase, TorGuiShareTest):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
test_settings = {
|
||||
}
|
||||
cls.gui = TorGuiShareTest.set_up(test_settings, 'ShareModeTest')
|
||||
|
||||
@pytest.mark.tor
|
||||
def test_run_all_common_setup_tests(self):
|
||||
self.run_all_common_setup_tests()
|
||||
|
||||
@pytest.mark.run(after='test_run_all_common_setup_tests')
|
||||
@pytest.mark.tor
|
||||
def test_run_all_share_mode_tests(self):
|
||||
self.run_all_share_mode_tests(False, False)
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
Loading…
Add table
Add a link
Reference in a new issue