Beispiel #1
0
 def test_unexisting_model(self, registry_blok):
     registry = registry_blok
     mr = ModelRepr('Model.Unexisting.Model')
     with pytest.raises(ModelReprException):
         mr.check_model(registry)
Beispiel #2
0
 def test_unexisting_model(self):
     registry = self.init_registry(None)
     mr = ModelRepr('Model.Unexisting.Model')
     with self.assertRaises(ModelReprException):
         mr.check_model(registry)