This commit is contained in:
Paul Konstantin Gerke 2022-10-17 09:45:26 +02:00
parent 0f4c006c05
commit 1f835d181d
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ class ViewsTestCase(TestCase):
page = self.c.get("/user/settings/") page = self.c.get("/user/settings/")
self.assertEqual(page.status_code, 200) self.assertEqual(page.status_code, 200)
def test_add_device_page(self):
page = self.c.get("/user/add-device/")
self.assertRegex( self.assertRegex(
page.content.decode(), page.content.decode(),
r""".*<div [^>]* data-qr-code-content="[^"]+"[^>]*>.*""", r""".*<div [^>]* data-qr-code-content="[^"]+"[^>]*>.*""",