Fix python tests

This commit is contained in:
Tom Byers
2020-08-25 16:02:08 +01:00
parent c3e32b7f95
commit 8b6069d717
2 changed files with 10 additions and 10 deletions

View File

@@ -785,7 +785,7 @@ def test_should_show_template_id_on_template_page(
template_id=fake_uuid,
_test_page_title=False,
)
assert page.select('.api-key__key')[0].text == fake_uuid
assert fake_uuid in page.select('.api-key__key')[0].text
def test_should_hide_template_id_for_broadcast_templates(