pymasep.tests.fixtures ====================== .. py:module:: pymasep.tests.fixtures Functions --------- .. autoapisummary:: pymasep.tests.fixtures.mock_game pymasep.tests.fixtures.mock_environment pymasep.tests.fixtures.mock_environment_conf pymasep.tests.fixtures.base_directory pymasep.tests.fixtures.base_directory_unit pymasep.tests.fixtures.cleanup Module Contents --------------- .. py:function:: mock_game(game_class) Create a mock game for the current project with empty configuration .. py:function:: mock_environment(mock_game) Create a mock environment for the current project with empty configuration .. py:function:: mock_environment_conf(configuration, game_class) Create a mock environment for the current project with configuration defined as fixture .. py:function:: base_directory(relative_path, request) Pytest fixture that set the base directory for the tests .. py:function:: base_directory_unit(relative_path, request) Pytest fixture that set the base directory for the unit tests .. py:function:: cleanup(request) Cleanup a testing directory once we are finished.