Exemplo n.º 1
0
 def test_model_superclass(self):
     sample_model = model.CeleryBeatLock()
     self.assertTrue(isinstance(sample_model, Document))
Exemplo n.º 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))