Commit 71ae04b9 by clytwynec

Merge pull request #4299 from edx/clytwynec/skip_update_assets_for_unittests

skipping update assets, not just collectstatic, in unit tests
parents 890eba26 52bc1754
......@@ -98,14 +98,12 @@ class SystemTestSuite(NoseTestSuite):
def __enter__(self):
super(SystemTestSuite, self).__enter__()
args = [self.root, '--settings=test']
if self.fasttest:
if not self.fasttest:
# TODO: Fix the tests so that collectstatic isn't needed ever
# add --skip-collect to this when the tests are fixed
args.append('--skip-collect')
call_task('pavelib.assets.update_assets', args=args)
args = [self.root, '--settings=test']
call_task('pavelib.assets.update_assets', args=args)
@property
def cmd(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment