2018-10-11 21:28:47 -03:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
import pytest
|
|
|
|
import unittest
|
|
|
|
|
|
|
|
from .GuiShareTest import GuiShareTest
|
|
|
|
|
2018-10-12 04:53:03 -03:00
|
|
|
class LocalShareModeTimerTest(unittest.TestCase, GuiShareTest):
|
2018-10-11 21:28:47 -03:00
|
|
|
@classmethod
|
|
|
|
def setUpClass(cls):
|
|
|
|
test_settings = {
|
|
|
|
"public_mode": False,
|
|
|
|
"shutdown_timeout": True,
|
|
|
|
}
|
2018-10-12 04:53:03 -03:00
|
|
|
cls.gui = GuiShareTest.set_up(test_settings, 'LocalShareModeTimerTest')
|
2018-10-11 21:28:47 -03:00
|
|
|
|
|
|
|
def test_run_all_common_setup_tests(self):
|
2018-10-11 22:18:34 -03:00
|
|
|
self.run_all_common_setup_tests()
|
2018-10-11 21:28:47 -03:00
|
|
|
|
2018-10-12 20:03:15 -03:00
|
|
|
@pytest.mark.run(after='test_run_all_common_setup_tests')
|
2018-10-11 21:28:47 -03:00
|
|
|
def test_run_all_share_mode_timer_tests(self):
|
2018-10-11 22:18:34 -03:00
|
|
|
self.run_all_share_mode_timer_tests(False)
|
2018-10-11 21:28:47 -03:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
unittest.main()
|