From 1f835d181d966a6b42eada0e3574811a82a59843 Mon Sep 17 00:00:00 2001 From: Paul Konstantin Gerke Date: Mon, 17 Oct 2022 09:45:26 +0200 Subject: [PATCH] Fix test --- babybuddy/tests/tests_views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/babybuddy/tests/tests_views.py b/babybuddy/tests/tests_views.py index 25ac7a7b..7147516d 100644 --- a/babybuddy/tests/tests_views.py +++ b/babybuddy/tests/tests_views.py @@ -52,6 +52,8 @@ class ViewsTestCase(TestCase): page = self.c.get("/user/settings/") self.assertEqual(page.status_code, 200) + def test_add_device_page(self): + page = self.c.get("/user/add-device/") self.assertRegex( page.content.decode(), r""".*
]* data-qr-code-content="[^"]+"[^>]*>.*""",