Fixed an if-statement which incorrectly disabled coverage testing when the parallel testing count was set to 1.
- Legacy-Id: 13231
This commit is contained in:
parent
1e98833863
commit
d6b9392f72
|
@ -365,7 +365,7 @@ class IetfTestRunner(DiscoverRunner):
|
|||
self.root_dir = os.path.dirname(settings.BASE_DIR)
|
||||
self.coverage_file = os.path.join(self.root_dir, settings.TEST_COVERAGE_MASTER_FILE)
|
||||
super(IetfTestRunner, self).__init__(**kwargs)
|
||||
if self.parallel:
|
||||
if self.parallel > 1:
|
||||
self.check_coverage = False
|
||||
|
||||
def setup_test_environment(self, **kwargs):
|
||||
|
|
Loading…
Reference in a new issue