mirror of https://github.com/snachodog/mybuddy.git
Fix test
This commit is contained in:
parent
0f4c006c05
commit
1f835d181d
|
@ -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""".*<div [^>]* data-qr-code-content="[^"]+"[^>]*>.*""",
|
||||
|
|
Loading…
Reference in New Issue