Skip to content

Simple ezpz Smoke Testsโš“๏ธŽ

Overviewโš“๏ธŽ

tests/test_simple_ezpz.py acts as a zero-dependency smoke test ensuring the package can be imported and its most common helpers are available even in a minimal environment.

Highlightsโš“๏ธŽ

  • Import safety โ€“ Guards against accidental regressions that break import ezpz by skipping when import errors are environment-related.
  • Version exposure โ€“ Checks that ezpz.__version__ remains a non-empty string.
  • Logger bootstrap โ€“ Validates that ezpz.get_logger returns a logger with the expected logging methods.
  • Environment defaults โ€“ Confirms that important environment variables set during initialisation (WANDB_MODE, EZPZ_LOG_LEVEL) are present.

Running the Testsโš“๏ธŽ

python -m pytest tests/test_simple_ezpz.py