|
@@ -50,6 +50,9 @@ class PickleabilityTestCase(TestCase):
|
|
|
self.assertEqual(original.__class__, unpickled.__class__)
|
|
|
self.assertEqual(original.args, unpickled.args)
|
|
|
|
|
|
+ def test_manager_pickle(self):
|
|
|
+ pickle.loads(pickle.dumps(Happening.objects))
|
|
|
+
|
|
|
def test_model_pickle(self):
|
|
|
"""
|
|
|
Test that a model not defined on module level is pickleable.
|