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