seriesmarker.test.gui.base.main_window_test module¶
-
class
MainWindowTest
(methodName='runTest')[source]¶ Bases:
seriesmarker.test.gui.base.gui_test_case.GUITestCase
-
check_list_view_displays
(expected, series_number, season_number, episode_number, column=1, role=PySide.QtCore.Qt.ItemDataRole.DisplayRole)[source]¶
-
expand_series
(series_number=0)[source]¶ Expands the series with given index in the main window.
Parameters: series_number ( int
) – The index of the series to expand, from top to bottom as displayed in the main window, starting at zero.
-
find_click_target
(series_number=0, season_number=None, episode_number=None, offset=None)[source]¶ Finds the coordinates of an item in the tree view.
Parameters: series_number ( int
The number of the series to find the coordinates for.) – The number of the series to find the coordinates for.Returns: The viewport of the tree view and the coordinates of the item’s center.
-