def test_librarian_create_mob(self): lib = Librarian() mob = lib.create_mob() self.assertTrue(mob)
def test_librarian(self): lib = Librarian() my_mob = lib.create_mob() self.assertEqual(type(my_mob.name), str) self.assertGreater(len(my_mob.name), 0)