def test_de_json_all(self, client): json_dict = {'uid': self.uid, 'kind': self.kind} playlist_id = PlaylistId.de_json(json_dict, client) assert playlist_id.uid == self.uid assert playlist_id.kind == self.kind
def test_de_json_none(self, client): assert PlaylistId.de_json({}, client) is None