UPD: More and better tests.

This commit is contained in:
2019-03-29 16:56:44 +01:00
parent 80e9271209
commit 4c1c6b48df
6 changed files with 244 additions and 35 deletions

View File

@@ -427,7 +427,7 @@ class TestCase(SeleniumAuthMixin, RoleMixin, ScreenshotTestCase):
self.wait_until_stale(c, button)
except NoSuchElementException:
break
else:
else: # pragma: no cover
self.fail('Too many sub forms')
if 'internal_note' in data:
@@ -500,7 +500,7 @@ class TestCase(SeleniumAuthMixin, RoleMixin, ScreenshotTestCase):
button.click()
self.wait_until_stale(c, button)
else:
else: # pragma: no cover
self.fail('Too many sub forms')
if screenshots: