Skip to content

Commit

Permalink
feat: running command check and migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemontoya committed Mar 8, 2024
1 parent 3f32345 commit 868d53d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions eox_tenant/test/tutor/integration.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
#!/bin/bash

# install the package in the edxapp env
pip install -e ../eox-tenant

# test that the commands for eox-tenant are being listed
./manage.py lms help | grep eox
# test that the commands for eox-tenant are being listed at the lms
is_command_installed=$(./manage.py lms help | grep eox | wc -l)
if [ $is_command_installed == 0 ] ; then
echo 'package was not installed correctly'
exit -1;
fi

# run migrations
./manage.py lms migrate eox_tenant

# running the tests using the tutor settings
make test-requirements
Expand Down

0 comments on commit 868d53d

Please sign in to comment.