def test_from_dict_crappy(self): self.assertNotEqual(Player.from_dict({'name': 'sam'}), Player('same'))
def test_from_dict(self): self.assertEqual(Player.from_dict({'name': 'sam'}), Player('sam'))