2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 08:41:51 +00:00

Extended test

This commit is contained in:
Philip Sargent 2023-02-24 23:12:44 +00:00
parent a3fc9a17ed
commit 394d94d5d6

View File

@ -63,6 +63,7 @@ class ImportTest(TestCase):
phil = make_person("Phil", "Tosser", nickname="tosspot") phil = make_person("Phil", "Tosser", nickname="tosspot")
dave = make_person("David", "Smartarse", "") dave = make_person("David", "Smartarse", "")
mike = make_person("Michael", "Wideboy", "WB", vfho=True) mike = make_person("Michael", "Wideboy", "WB", vfho=True)
# NOT created Kurt, as the whole point is that he is a guest.
def setUp(self): def setUp(self):
pass pass
@ -97,3 +98,5 @@ class ImportTest(TestCase):
for e in expected: for e in expected:
self.assertIn(e, messages) self.assertIn(e, messages)
for e in not_expected:
self.assertNotIn(e, messages)