Mercurial > kallithea
view pytest.ini @ 8849:618e09120d47
bin: add missing imports
Spotted by pytype --strict-import:
File "kallithea/bin/kallithea_cli_db.py", line 73, in db_create: No attribute 'utils' on module 'kallithea.lib' [module-attr]
File "kallithea/bin/kallithea_cli_db.py", line 73, in db_create: No attribute 'scm' on module 'kallithea.model' [module-attr]
It happened to work anyway due to the import chain ... but it is better to be
explicit.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 14 Jan 2021 21:46:10 +0100 |
parents | afa5e0bdb76f |
children |
line wrap: on
line source
[pytest] # only look for tests in kallithea/tests python_files = kallithea/tests/**/test_*.py addopts = # --verbose # show extra test summary info as specified by chars (f)ailed, (E)error, (s)skipped, (x)failed, (X)passed, (w)warnings. -rfEsxXw # Shorter scrollbacks; less stuff to scroll through --tb=short # --doctest-modules --doctest-ignore-import-errors