Spaces:
Paused

alessandro trinca tornidor commited on
Commit
b680bf1
·
1 Parent(s): abeae27

test: fix env leak in test_resolve_model_folder, add MODEL_FOLDER tests

Browse files

Wrap test_default_variant_when_no_env_vars with @patch .dict to
auto-restore os.environ on failure. Add _models_available() support
for MODEL_FOLDER env override with two new test cases.

2 files changed +25
Files changed (2)
tests/test_app.py+24
tests/test_resolve_model_folder.py+1