skipping update assets, not just collectstatic, in unit tests

This commit is contained in:
Christine Lytwynec
2014-07-03 11:15:13 -04:00
parent 30c573c72a
commit 52bc17545b

View File

@@ -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):