Skip to content
Snippets Groups Projects
Commit d3b2d883 authored by Jesse Zoldak's avatar Jesse Zoldak Committed by GitHub
Browse files

Merge pull request #13732 from edx/zoldak/no-migrations-in-unittests

Disable migrations by default in python unit tests
parents fa81f303 44653731
No related merge requests found
......@@ -173,12 +173,6 @@ To run these tests without ``collectstatic``, which is faster, append the follow
paver test_system -s lms --fasttest
For even more speed, use the ``--disable-migrations`` option to run tests without applying migrations and instead create tables directly from apps' models.
::
paver test_system -s lms --disable-migrations
To run cms python tests without ``collectstatic`` use this command.
::
......
......@@ -18,7 +18,7 @@ class PythonTestSuite(TestSuite):
def __init__(self, *args, **kwargs):
super(PythonTestSuite, self).__init__(*args, **kwargs)
self.opts = kwargs
self.disable_migrations = kwargs.get('disable_migrations', False)
self.disable_migrations = kwargs.get('disable_migrations', True)
self.fasttest = kwargs.get('fasttest', False)
self.subsuites = kwargs.get('subsuites', self._default_subsuites)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment