Skip to content

Commit

Permalink
fix: add integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
MaferMazu committed May 22, 2024
1 parent a74c847 commit fa38a4f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions eox_hooks/tests/tutor/integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,15 @@
# install the package in the edxapp env
echo "Install package"
pip install -e ../eox-hooks

# run migrations
echo "Run migrations"
./manage.py lms migrate eox_hooks

# install pytest
echo "Install test-requirements"
pip install -r requirements/test.txt

# running the tests using the tutor settings
echo "Run tests"
pytest -s --ds=lms.envs.tutor.test /openedx/eox-hooks/eox_hooks/tests/tutor

0 comments on commit fa38a4f

Please sign in to comment.