Merge pull request #13776 from edx/zoldak/TE-1587
Add enable-migrations parameter for python unit tests
This commit is contained in:
@@ -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.
|
||||
|
||||
::
|
||||
|
||||
Reference in New Issue
Block a user