예제 #1
0
 def test_model_superclass(self):
     sample_model = model.CeleryBeatLock()
     self.assertTrue(isinstance(sample_model, Document))
예제 #2
0
 def test_model_superclass(self):
     """
     Ensure that the model inherrits from Mongoengine Document.
     """
     sample_model = model.CeleryBeatLock()
     self.assertTrue(isinstance(sample_model, Document))