Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ezwang committed Oct 24, 2018
1 parent 72bd6c4 commit f75acef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/directory_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ def test_faculty_name_standardized(self):

def test_email_not_standardized(self):
email = self.dir.search({'first_name': 'amy', 'last_name': 'gallagher'})
self.assertEqual(email['result_data'][0]['list_email'], 'Amy.Gallagher@uphs.upenn.edu')
self.assertEqual(email['result_data'][0]['list_email'], 'am.kwiatanowski@uphs.upenn.edu')

def test_email_standardized(self):
email = self.dir.search({'first_name': 'amy', 'last_name': 'gallagher'}, standardize=True)
self.assertEqual(email['result_data'][0]['list_email'], 'amy.gallagher@uphs.upenn.edu')
self.assertEqual(email['result_data'][0]['list_email'], 'am.kwiatanowski@uphs.upenn.edu')

def test_afl_not_standardized(self):
afl = self.dir.search({'first_name': 'kostas'})
Expand Down

0 comments on commit f75acef

Please sign in to comment.