Skip to content

Commit

Permalink
Added test for US39
Browse files Browse the repository at this point in the history
  • Loading branch information
Eamon18 authored Nov 8, 2018
1 parent 9e83381 commit dcc1d99
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Unit_Test_Proj.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,12 @@ def test_list_living_married(self):
"US30: Sammy /Johnson/ is alive and married", "US30: Troy /Johnson/ is alive and married"]
for error in list_of_known_errors:
self.assertIn(error, self.all_errors)

def test_list_anniversaries(self):
"""US39: Tests to ensure that all anniversaries to occur in the next 30 days are listed"""
list_of_known_errors = ["US39: Art /Versity/ and Ann /Versity/ have an anniversary coming in 29 days"]
for error in list_of_known_errors:
self.assertIn(error, self.all_errors)

if __name__ == '__main__':
unittest.main(exit=False, verbosity=2)

0 comments on commit dcc1d99

Please sign in to comment.