fix: [security tests] removed otp_disabled check for email otp endpoint

- the two are distinct features
pull/9062/merge
iglocska 2024-05-03 12:54:41 +02:00
parent bf909d5fff
commit 64f2fd9c31
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 0 additions and 3 deletions

View File

@ -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")