diff --git a/zerver/tests/test_signup.py b/zerver/tests/test_signup.py index 6874f77a3e..f83706f049 100644 --- a/zerver/tests/test_signup.py +++ b/zerver/tests/test_signup.py @@ -1465,8 +1465,9 @@ class UserSignUpTest(ZulipTestCase): mock_ldap.reset() mock_initialize.stop() - def test_registration_email_for_mirror_dummy_user(self): - # type: () -> None + @patch('DNS.dnslookup', return_value=[['sipbtest:*:20922:101:Fred Sipb,,,:/mit/sipbtest:/bin/athena/tcsh']]) + def test_registration_email_for_mirror_dummy_user(self, ignored): + # type: (Any) -> None email = 'sipbtest@mit.edu' user_profile = get_user_profile_by_email(email)