new apps.epic app migrations for token expiration & cooldown; reject token renamed to return token everywhere; new mapps.epic.models & .views for expiration & cooldown; new apps.dash.views to manage stacking of like Token types not just in the kit bag but in the Gameboard's Game Kit applet & in the Dashwallet's Tokens applet; Free Tokens now display correctly in kit bag; apps.lyric.admin now ensures superuser cannot grant Free Tokens without an expiration date; corresponding tests in .tests.integrated.test_admin.TokenAdminFormTest; screendumps occurring for every test, regardless of passfail status, after one fail fixed in FTs.base; FTs.test_gatekeeper.GameKitInsertTest.test_free_token_insert_via_kit_consumed_on_confirm, for test purposes only, ensures starting Free Token deleted before fresh one assigned w. full 7d expiration battery
This commit is contained in:
@@ -59,7 +59,10 @@ class FunctionalTest(StaticLiveServerTestCase):
|
||||
super().tearDown()
|
||||
|
||||
def _test_has_failed(self):
|
||||
return self._outcome.result.failures or self._outcome.result.errors
|
||||
return any(
|
||||
failure[0] == self
|
||||
for failure in self._outcome.result.failures + self._outcome.result.errors
|
||||
)
|
||||
|
||||
def take_screenshot(self):
|
||||
path = SCREEN_DUMP_LOCATION / self._get_filename("png")
|
||||
|
||||
Reference in New Issue
Block a user