class ManagerTests(unittest.TestCase): def setUp(self): self.m = Manager("George", 90, "Do Nothing") def test_get_department(self): self.assertEqual("Do Nothing", self.m.get_department()) def test_obj_repr(self): print(self.m)
def setUp(self): self.m = Manager("George", 90, "Do Nothing")