exopy.testing.fixtures module¶
Pytest fixtures.
-
exopy.testing.fixtures.EXOPY= ''¶ Global variable storing the application folder path
-
exopy.testing.fixtures.DIALOG_SLEEP= 0¶ Global variable linked to the –exopy-sleep cmd line option.
-
exopy.testing.fixtures.pytest_configure(config)[source]¶ Turn the –exopy-sleep command line into a global variable.
-
exopy.testing.fixtures.dialog_sleep()[source]¶ Return the time to sleep as set by the –exopy-sleep option.
-
exopy.testing.fixtures.sys_path()[source]¶ Detect installation path of exopy.
Automtically called, DOES NOT use directly. Use exopy_path to get the path to the exopy directory.
-
exopy.testing.fixtures.watchdog_on_travis()[source]¶ Do not use inotify on travis as it tends to break builds.
-
exopy.testing.fixtures.exopy_qtbot(app, qtbot)[source]¶ Set the enaml application on the bot and add automatic windows cleanup.
-
exopy.testing.fixtures.app_dir(tmpdir)[source]¶ Fixture setting the app_directory.ini file for each test.