Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/f/t/ftw.bridge.client-1.0.8/ftw/bridge/client/tests/test_brain.py   ftw.bridge.client(Download)
 
        serializer = BrainSerializer()
        data = serializer.serialize_brains(results)
        self.assertEqual(type(data), list)
        self.assertEqual(len(data), 2)
 
        serializer = BrainSerializer()
        data = serializer.serialize_brains(results)
 
        self.assertEqual(json.loads(json.dumps(data)), data)
 
        serializer = BrainSerializer()
        data = json.dumps(serializer.serialize_brains(brains))
 
        results = serializer.deserialize_brains(