def test_model_superclass(self): sample_model = model.CeleryBeatLock() self.assertTrue(isinstance(sample_model, Document))
def test_model_superclass(self): """ Ensure that the model inherrits from Mongoengine Document. """ sample_model = model.CeleryBeatLock() self.assertTrue(isinstance(sample_model, Document))