Merge pull request #13776 from edx/zoldak/TE-1587

Add enable-migrations parameter for python unit tests
This commit is contained in:
Jesse Zoldak
2016-10-18 22:52:22 -04:00
committed by GitHub
2 changed files with 16 additions and 0 deletions

View File

@@ -179,6 +179,16 @@ To run cms python tests without ``collectstatic`` use this command.
paver test_system -s cms --fasttest
For the sake of speed, by default the python unit test database tables
are created directly from apps' models. If you want to run the tests
against a database created by applying the migrations instead, use the
``--enable-migrations`` option.
::
paver test_system -s lms --enable-migrations
To run a single django test class use this command.
::