removed parallel worker subprocess fail screendump req'ment, so not to break the --parallel FT run
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@@ -61,12 +61,15 @@ class FunctionalTest(StaticLiveServerTestCase):
|
|||||||
super().tearDown()
|
super().tearDown()
|
||||||
|
|
||||||
def _test_has_failed(self):
|
def _test_has_failed(self):
|
||||||
return any(
|
try:
|
||||||
failure[0] == self
|
return any(
|
||||||
for failure in itertools.chain(
|
failure[0] == self
|
||||||
self._outcome.result.failures, self._outcome.result.errors
|
for failure in itertools.chain(
|
||||||
|
self._outcome.result.failures, self._outcome.result.errors
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
except TypeError:
|
||||||
|
return False
|
||||||
|
|
||||||
def take_screenshot(self):
|
def take_screenshot(self):
|
||||||
path = SCREEN_DUMP_LOCATION / self._get_filename("png")
|
path = SCREEN_DUMP_LOCATION / self._get_filename("png")
|
||||||
@@ -156,12 +159,15 @@ class ChannelsFunctionalTest(ChannelsLiveServerTestCase):
|
|||||||
super().tearDown()
|
super().tearDown()
|
||||||
|
|
||||||
def _test_has_failed(self):
|
def _test_has_failed(self):
|
||||||
return any(
|
try:
|
||||||
failure[0] == self
|
return any(
|
||||||
for failure in itertools.chain(
|
failure[0] == self
|
||||||
self._outcome.result.failures, self._outcome.result.errors
|
for failure in itertools.chain(
|
||||||
|
self._outcome.result.failures, self._outcome.result.errors
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
except TypeError:
|
||||||
|
return False
|
||||||
|
|
||||||
def take_screenshot(self):
|
def take_screenshot(self):
|
||||||
path = SCREEN_DUMP_LOCATION / self._get_filename("png")
|
path = SCREEN_DUMP_LOCATION / self._get_filename("png")
|
||||||
|
|||||||
Reference in New Issue
Block a user