2018-09-22 03:50:39 -03:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
import pytest
|
2018-10-11 21:28:47 -03:00
|
|
|
import unittest
|
2018-09-22 03:50:39 -03:00
|
|
|
|
2018-10-11 21:28:47 -03:00
|
|
|
from .GuiShareTest import GuiShareTest
|
2018-09-23 21:41:48 -03:00
|
|
|
|
2018-10-11 21:28:47 -03:00
|
|
|
class ShareModeTest(unittest.TestCase, GuiShareTest):
|
2018-09-22 03:50:39 -03:00
|
|
|
@classmethod
|
|
|
|
def setUpClass(cls):
|
|
|
|
test_settings = {
|
|
|
|
}
|
2018-10-11 21:50:12 -03:00
|
|
|
cls.gui = GuiShareTest.set_up(test_settings)
|
2018-09-22 03:50:39 -03:00
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def tearDownClass(cls):
|
2018-10-11 21:28:47 -03:00
|
|
|
GuiShareTest.tear_down()
|
2018-09-22 03:50:39 -03:00
|
|
|
|
|
|
|
@pytest.mark.run(order=1)
|
2018-10-11 01:09:27 -03:00
|
|
|
def test_run_all_common_setup_tests(self):
|
2018-10-11 21:28:47 -03:00
|
|
|
GuiShareTest.run_all_common_setup_tests(self)
|
2018-09-22 03:50:39 -03:00
|
|
|
|
|
|
|
@pytest.mark.run(order=2)
|
2018-10-11 01:09:27 -03:00
|
|
|
def test_run_all_share_mode_tests(self):
|
2018-10-11 21:28:47 -03:00
|
|
|
GuiShareTest.run_all_share_mode_tests(self, False, False)
|
2018-09-22 03:50:39 -03:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
unittest.main()
|