Skip to content

Commit

Permalink
Try to fix broken test - still one more test and again...
Browse files Browse the repository at this point in the history
  • Loading branch information
mohierf committed Dec 30, 2019
1 parent 699afd3 commit 4a4b4e2
Show file tree
Hide file tree
Showing 3 changed files with 300 additions and 146 deletions.
3 changes: 3 additions & 0 deletions test/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ mock
pytest
pytest-cov

# Freeze the time -)
freezegun

coverage

# Report coverage results to codecov.io
Expand Down
3 changes: 1 addition & 2 deletions test/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export PYTHONPATH=$PYTHONPATH:$PWD/test/tmp/shinken/test/modules/livestatus # we
echo "Python path: '$PYTHONPATH' ..."

cd "$cur_dir"/test/tmp/shinken/test
#nosetests -vx --process-restartworker --processes=1 --process-timeout=1800 "$cur_dir"/test/test*.py
pytest -v --no-print-logs "$cur_dir"/test/test*.py
pytest -vv --durations=0 --no-print-logs --cov="$cur_dir"/module --cov-config "$cur_dir"/test/.coveragerc "$cur_dir"/test/test_*.py

cd "$cur_dir"/test
Loading

0 comments on commit 4a4b4e2

Please sign in to comment.