2018-09-22 02:50:39 -04:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
import pytest
|
2018-10-11 20:28:47 -04:00
|
|
|
import unittest
|
2018-09-22 02:50:39 -04:00
|
|
|
|
2018-10-11 20:28:47 -04:00
|
|
|
from .GuiReceiveTest import GuiReceiveTest
|
2018-09-23 20:41:48 -04:00
|
|
|
|
2018-10-12 03:53:03 -04:00
|
|
|
class LocalReceiveModeTest(unittest.TestCase, GuiReceiveTest):
|
2018-09-22 02:50:39 -04:00
|
|
|
@classmethod
|
|
|
|
def setUpClass(cls):
|
|
|
|
test_settings = {
|
2018-09-30 21:32:18 -04:00
|
|
|
"receive_allow_receiver_shutdown": True
|
2018-09-22 02:50:39 -04:00
|
|
|
}
|
2018-10-12 03:53:03 -04:00
|
|
|
cls.gui = GuiReceiveTest.set_up(test_settings, 'LocalReceiveModeTest')
|
2018-09-22 02:50:39 -04:00
|
|
|
|
2018-10-11 00:09:27 -04:00
|
|
|
def test_run_all_common_setup_tests(self):
|
2018-10-11 21:18:34 -04:00
|
|
|
self.run_all_common_setup_tests()
|
2018-09-22 02:50:39 -04:00
|
|
|
|
2018-10-12 19:03:15 -04:00
|
|
|
@pytest.mark.run(after='test_run_all_common_setup_tests')
|
2018-10-11 20:28:47 -04:00
|
|
|
def test_run_all_receive_mode_tests(self):
|
2018-10-11 21:18:34 -04:00
|
|
|
self.run_all_receive_mode_tests(False, True)
|
2018-09-22 02:50:39 -04:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
unittest.main()
|