def test_home_under_2fa_without_otp_device(self) -> None:
    with self.settings(TWO_FACTOR_AUTHENTICATION_ENABLED=True):
        self.login(self.example_email('iago'))
        result = self._get_home_page()
        self.assertEqual(result.status_code, 200)
def test_home_under_2fa_without_otp_device(self) -> None:
    with self.settings(TWO_FACTOR_AUTHENTICATION_ENABLED=True):
        self.login(self.example_email('iago'))
        result = self._get_home_page()
        self.assertEqual(result.status_code, 200)