add test for dynamic config attributes (import my.cfg as config)
This commit is contained in:
parent
fe763c3c04
commit
4cceccd787
6 changed files with 72 additions and 4 deletions
1
tox.ini
1
tox.ini
|
@ -14,6 +14,7 @@ commands =
|
|||
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
|
||||
# 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