Lines Matching refs:new_zoo
1348 new_zoo = pickle.loads(pickled_zoo)
1349 self.assertEqual(sorted(new_zoo.__dict__.keys()), sorted_resource_keys)
1350 self.assertTrue(hasattr(new_zoo, 'animals'))
1351 self.assertTrue(callable(new_zoo.animals))
1352 self.assertTrue(hasattr(new_zoo, 'global_'))
1353 self.assertTrue(callable(new_zoo.global_))
1354 self.assertTrue(hasattr(new_zoo, 'load'))
1355 self.assertTrue(callable(new_zoo.load))
1356 self.assertTrue(hasattr(new_zoo, 'loadNoTemplate'))
1357 self.assertTrue(callable(new_zoo.loadNoTemplate))
1358 self.assertTrue(hasattr(new_zoo, 'my'))
1359 self.assertTrue(callable(new_zoo.my))
1360 self.assertTrue(hasattr(new_zoo, 'query'))
1361 self.assertTrue(callable(new_zoo.query))
1362 self.assertTrue(hasattr(new_zoo, 'scopedAnimals'))
1363 self.assertTrue(callable(new_zoo.scopedAnimals))
1365 self.assertEqual(sorted(zoo._dynamic_attrs), sorted(new_zoo._dynamic_attrs))
1366 self.assertEqual(zoo._baseUrl, new_zoo._baseUrl)
1367 self.assertEqual(zoo._developerKey, new_zoo._developerKey)
1368 self.assertEqual(zoo._requestBuilder, new_zoo._requestBuilder)
1369 self.assertEqual(zoo._resourceDesc, new_zoo._resourceDesc)
1370 self.assertEqual(zoo._rootDesc, new_zoo._rootDesc)
1413 new_zoo = pickle.loads(pickled_zoo)
1415 sorted(new_zoo.__dict__.keys()))
1416 new_http = new_zoo._http