schrodinger.test.ld_base_test_classes module¶
- class schrodinger.test.ld_base_test_classes.MockBaseLDTreeItemWrapper(name=None, id_=None, title=None, live_report=None)[source]¶
Bases:
schrodinger.test.mock_ld_models.MockNameAndID
- property name¶
- class schrodinger.test.ld_base_test_classes.BaseTestCases[source]¶
Bases:
object
- class ExportBasePanelTest[source]¶
Bases:
schrodinger.test.custom_test_classes.MultiModulePatchMixin
- MODULE_MAP = {'get_ld_client_and_models': 'schrodinger.application.livedesign.login', 'login': ['schrodinger.application.livedesign.ld_export']}¶
- PANEL_CLASS = NotImplemented¶
- test__onLiveReportTextEdited(mock_avail_maps)[source]¶
Verify that the panel responds appropriately when the user finishes editing the live report line edit. This should update relevant instance variables of the panel and attempt to retrieve information from the LiveDesign server.
mock_avail_maps
is necessary to avoid any actual directories being accessed (PANEL-15417).
- teardown()¶
- class ImportBasePanelTest[source]¶
Bases:
schrodinger.test.custom_test_classes.MultiModulePatchMixin
- MODULE_MAP = {'get_ld_client_and_models': 'schrodinger.application.livedesign.login', 'login': ['schrodinger.application.livedesign.ld_base_classes', 'schrodinger.application.livedesign.ld_import']}¶
- PANEL_CLASS = None¶
- test_processTaskMessage(mock_question, mock_info, mock_error, mock_warning)[source]¶
Test if all messaging signals for the Task Runner are connected to the GUI.
- test__onLiveReportURLLoad(mock_avail_maps)[source]¶
Verify that the panel responds appropriately when the user finishes editing the live report line edit and clicks the confirm button. This should update relevant instance variables of the panel and attempt to retrieve information from the LiveDesign server.
- teardown()¶