def test_from_json(self): feed = util.example_feed() entity = util.example_feed().operator(self.expect['onestopId']) roundtrip = Operator.from_json(entity.json()) self._sanity(roundtrip)