Extra test for MY_CONFIG variable; fix order import for stub/dynamic config
This commit is contained in:
parent
636060db57
commit
6d1fba2171
4 changed files with 61 additions and 30 deletions
2
tox.ini
2
tox.ini
|
@ -13,7 +13,7 @@ commands =
|
|||
# python -m pytest {posargs}
|
||||
python3 -c 'import my.init; from my.config import stub as config; print(config.key)'
|
||||
python3 -c 'import my.init; import my.config; import my.config.repos' # shouldn't fail at least
|
||||
python3 -m pytest tests/misc.py tests/get_files.py
|
||||
python3 -m pytest tests/misc.py tests/get_files.py tests/config.py::test_set_repo tests/config.py::test_environment_variable
|
||||
# TODO add; once I figure out porg depdencency?? tests/config.py
|
||||
# TODO run demo.py? just make sure with_my is a bit cleverer?
|
||||
# TODO e.g. under CI, rely on installing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue