Commit 52bc1754 by Christine Lytwynec

skipping update assets, not just collectstatic, in unit tests

parent 30c573c7
...@@ -98,13 +98,11 @@ class SystemTestSuite(NoseTestSuite): ...@@ -98,13 +98,11 @@ class SystemTestSuite(NoseTestSuite):
def __enter__(self): def __enter__(self):
super(SystemTestSuite, self).__enter__() 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 # TODO: Fix the tests so that collectstatic isn't needed ever
# add --skip-collect to this when the tests are fixed # add --skip-collect to this when the tests are fixed
args.append('--skip-collect') args = [self.root, '--settings=test']
call_task('pavelib.assets.update_assets', args=args) call_task('pavelib.assets.update_assets', args=args)
@property @property
......
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