From 87039a043b954061cdb8079c50fc0882f84531a6 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Sat, 11 Jun 2022 17:59:47 +0530 Subject: [PATCH] fix: enable password/confirm password mismatch test --- accounts/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/tests.py b/accounts/tests.py index a1d432d..b4ef93e 100644 --- a/accounts/tests.py +++ b/accounts/tests.py @@ -101,8 +101,8 @@ class RegistrationTest(TestCase): "email": "register_user@example.com", "confirm_password": "foo@example.com", } - # resp = c.post(reverse("accounts.register"), msg) - # self.assertEqual(resp.status_code, 400) + resp = c.post(reverse("accounts.register"), msg) + self.assertEqual(resp.status_code, 400) # register user msg["confirm_password"] = msg["password"]