Camelot unittest framework. This module contains helper classes and functions to write unittests for Camelot applications. These are not the unittests for Camelot itself. Those can be found in the /test folder, at the same position as /camelot.
Test various application level views, like the main window, the sidepanel
Test the views of all the Entity subclasses, subclass this class to test all views in your application. This is done by calling the create_table_view and create_new_view on a set of admin objects. To tell the test case which admin objects should be tested, overwrite the get_admins method.
Base class for implementing test cases that need a running model_thread.
Save a widget as a png file : :param widget: the widget to take a screenshot of :param suffix: string to add to the default filename of the image :param subdir: subdirectory of images_path in which to put the image file, defaults to the name of the test class - the name of the png file is the name of the test case, without ‘test‘ - it is stored in the directory with the same name as the class, without ‘test’