imported itertools to base FT fns to support --parallel core split from last push
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import itertools
|
||||
import os
|
||||
import time
|
||||
|
||||
@@ -62,7 +63,9 @@ class FunctionalTest(StaticLiveServerTestCase):
|
||||
def _test_has_failed(self):
|
||||
return any(
|
||||
failure[0] == self
|
||||
for failure in self._outcome.result.failures + self._outcome.result.errors
|
||||
for failure in itertools.chain(
|
||||
self._outcome.result.failures, self._outcome.result.errors
|
||||
)
|
||||
)
|
||||
|
||||
def take_screenshot(self):
|
||||
@@ -155,7 +158,9 @@ class ChannelsFunctionalTest(ChannelsLiveServerTestCase):
|
||||
def _test_has_failed(self):
|
||||
return any(
|
||||
failure[0] == self
|
||||
for failure in self._outcome.result.failures + self._outcome.result.errors
|
||||
for failure in itertools.chain(
|
||||
self._outcome.result.failures, self._outcome.result.errors
|
||||
)
|
||||
)
|
||||
|
||||
def take_screenshot(self):
|
||||
|
||||
Reference in New Issue
Block a user