def test_de_json_all(self, client, track_id):
        json_dict = {
            'track_id': track_id.to_dict(),
            'timestamp': self.timestamp
        }
        track_short_old = TrackShortOld.de_json(json_dict, client)

        assert track_short_old.track_id == track_id
        assert track_short_old.timestamp == self.timestamp
 def test_de_json_none(self, client):
     assert TrackShortOld.de_json({}, client) is None