From 64f2fd9c31b90c3d52a292a2cf74d3d630179b7f Mon Sep 17 00:00:00 2001 From: iglocska Date: Fri, 3 May 2024 12:54:41 +0200 Subject: [PATCH] fix: [security tests] removed otp_disabled check for email otp endpoint - the two are distinct features --- tests/testlive_security.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/testlive_security.py b/tests/testlive_security.py index c09d68729..e003e10bf 100644 --- a/tests/testlive_security.py +++ b/tests/testlive_security.py @@ -804,9 +804,6 @@ class TestSecurity(unittest.TestCase): logged_in = PyMISP(url, self.test_usr.authkey) logged_in.global_pythonify = True - with self.assertRaises(Exception): - send(logged_in, "GET", f"/users/email_otp") - with self.assertRaises(Exception): send(logged_in, "GET", f"/users/totp_new")