Fix error "Unknown command: 'reset_db'" running bokchoy

Problem

While running "paver test_bokchoy", you might encounter the following error:

/edx/app/edxapp/edx-platform/scripts/reset-test-db.sh
Issuing a reset_db command to the default bok_choy MySQL database.
Unknown command: 'reset_db'


Solution

This problem happens because there is a problem with your prereqs that aren't currently recognized.

Before you resolve, it would be great if you could capture the output of "pip freeze" to possibly help us resolve the underlying problem.

As the edxapp user inside devstack, run the following:

cd /edx/app/edxapp/edx-platform


# clean out old prereqs (you may need to run this from the host if it fails)
make clean


# run paver test_bokchoy again
paver test_bokchoy