Example #1
0
 def test_dynamic_class(self):
   """Tests that a nested class object is pickled correctly."""
   self.assertEquals(
       'Z:abc',
       loads(dumps(module_test.create_class('abc'))).get())
Example #2
0
 def test_dynamic_class(self):
     """Tests that a nested class object is pickled correctly."""
     self.assertEquals('Z:abc',
                       loads(dumps(module_test.create_class('abc'))).get())
Example #3
0
 def test_pickle_dynamic_class(self):
     self.assertEqual('Z:abc',
                      loads(dumps(module_test.create_class('abc'))).get())