Selfie
|
Public Member Functions | |
__init__ (self, pytest.Config config) | |
bool | allow_multiple_equivalent_writes_to_one_location (self) |
Optional[str] | snapshot_folder_name (self) |
Path | root_folder (self) |
Mode | calc_mode (self) |
Public Attributes | |
root_dir | |
API for configuring the selfie plugin, you can set its values like this https://docs.pytest.org/en/7.1.x/reference/customize.html#configuration-file-formats
Definition at line 9 of file SelfieSettingsAPI.py.
pytest_selfie.SelfieSettingsAPI.SelfieSettingsAPI.__init__ | ( | self, | |
pytest.Config | config | ||
) |
Reimplemented in pytest_selfie.SelfieSettingsAPI.SelfieSettingsSmuggleError.
Definition at line 12 of file SelfieSettingsAPI.py.
bool pytest_selfie.SelfieSettingsAPI.SelfieSettingsAPI.allow_multiple_equivalent_writes_to_one_location | ( | self | ) |
Allow multiple equivalent writes to one location.
Definition at line 16 of file SelfieSettingsAPI.py.
Mode pytest_selfie.SelfieSettingsAPI.SelfieSettingsAPI.calc_mode | ( | self | ) |
Definition at line 30 of file SelfieSettingsAPI.py.
Path pytest_selfie.SelfieSettingsAPI.SelfieSettingsAPI.root_folder | ( | self | ) |
Returns the root folder for storing snapshots. Set by https://docs.pytest.org/en/7.1.x/reference/customize.html#finding-the-rootdir
Definition at line 26 of file SelfieSettingsAPI.py.
Optional[str] pytest_selfie.SelfieSettingsAPI.SelfieSettingsAPI.snapshot_folder_name | ( | self | ) |
Defaults to None, which means that snapshots are stored right next to the test that created them.
Definition at line 21 of file SelfieSettingsAPI.py.
pytest_selfie.SelfieSettingsAPI.SelfieSettingsAPI.root_dir |
Definition at line 13 of file SelfieSettingsAPI.py.