mantidimaging.gui.windows.welcome_screen.tests.presenter_test module#
- class mantidimaging.gui.windows.welcome_screen.tests.presenter_test.WelcomeScreenPresenterTest(methodName='runTest')[source]#
Bases:
TestCase
- setUp()#
Hook method for setting up the test fixture before exercising it.
- classmethod setUpClass()#
Hook method for setting up class fixture before running tests in the class.
- tearDown()#
Hook method for deconstructing the test fixture after testing it.
- classmethod tearDownClass()#
Hook method for deconstructing the class fixture after running all tests in the class.
- test_add_link()[source]#
Test that add_link(…) calls view.add_link(…) with correct HTML and increments link_count.
- test_check_issues(cuda_check_mock, versions_mock)[source]#
If there’s a needed update and no CUDA, we expect two lines of issues.
- test_init()[source]#
Ensure do_set_up() calls set_version_label(…), set_up_links(), and check_issues().