Skip to content

Commit

Permalink
Merge pull request #8415 from rtibbles/no_conf_till_setup
Browse files Browse the repository at this point in the history
Properly test that we do not prematurely initialize our OPTIONS
  • Loading branch information
rtibbles authored Sep 15, 2021
2 parents bd741db + 0329625 commit 592b165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
File renamed without changes.
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ deps =
commands =
sh -c 'kolibri manage makemigrations --check'
# Run the actual tests
python -O -m pytest {posargs:--cov=kolibri --cov-report= --cov-append --color=no}
python -O -m pytest {posargs:--cov=kolibri --cov-report= --cov-append --color=no} kolibri
python -O -m pytest {posargs:--cov=kolibri --cov-report= --cov-append --color=no} -p no:django test
# Fail if the log is longer than 200 lines (something erroring or very noisy got added)
sh -c "if [ `cat {env:KOLIBRI_HOME}/logs/kolibri.txt | wc -l` -gt 200 ] ; then echo 'Log too long' && echo '' && tail -n 20 {env:KOLIBRI_HOME}/logs/kolibri.txt && exit 1 ; fi"

Expand Down

0 comments on commit 592b165

Please sign in to comment.