Skip to content

Commit

Permalink
Make MITNameTest use ZulipTestCase instead of TestCase.
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerkid authored and timabbott committed May 23, 2017
1 parent cdb4d98 commit 0595107
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions zerver/tests/test_external.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from django.conf import settings
from django.core.exceptions import ValidationError
from django.http import HttpResponse
from django.test import TestCase

from zerver.forms import email_is_not_mit_mailing_list

Expand All @@ -27,7 +26,7 @@
from six.moves import range
from typing import Text

class MITNameTest(TestCase):
class MITNameTest(ZulipTestCase):
def test_valid_hesiod(self):
# type: () -> None
with mock.patch('DNS.dnslookup', return_value=[['starnine:*:84233:101:Athena Consulting Exchange User,,,:/mit/starnine:/bin/bash']]):
Expand Down

0 comments on commit 0595107

Please sign in to comment.