ts_lib_pytest package#
Submodules#
Module contents#
TetraScience pytest plugin library.
This package provides pytest fixtures and utilities specifically designed for TetraScience task script testing. It includes:
mock_uuid_generator: Fixture for mocking UUID generation with predictable values
df_snapshot: Fixture for DataFrame snapshot testing using Polars and Parquet files
DataframeSnapshot: Class for managing DataFrame snapshots
The plugin is automatically discovered by pytest when installed and provides command line options like –df-snapshot-update for managing snapshot tests.