Пример #1
0
 def test_from_dict_crappy(self):
     self.assertNotEqual(Player.from_dict({'name': 'sam'}), Player('same'))
Пример #2
0
 def test_from_dict(self):
     self.assertEqual(Player.from_dict({'name': 'sam'}), Player('sam'))