skipping update assets, not just collectstatic, in unit tests
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user