Open appukuttan-shailesh opened 3 years ago
This is in context to one of our pytest checks: test_models.py -> #4.2) Missing mandatory parameter
On the web apps, model name is a mandatory field. But the APIs seem to allow models to be created without names. E.g.: https://model-catalog.brainsimulation.eu/#model_id.400e4aa1-bb9e-4615-ba16-dc71c44b7c2f
This causes the test to fail.
Note: it is presently unclear which fields are mandatory for models and tests. This has varied quite a bit over time, and so even I am a bit clueless. I mostly resort to trial and error when trying to identify mandatory fields... not ideal!
This is in context to one of our pytest checks: test_models.py -> #4.2) Missing mandatory parameter
On the web apps, model name is a mandatory field. But the APIs seem to allow models to be created without names. E.g.: https://model-catalog.brainsimulation.eu/#model_id.400e4aa1-bb9e-4615-ba16-dc71c44b7c2f
This causes the test to fail.
Note: it is presently unclear which fields are mandatory for models and tests. This has varied quite a bit over time, and so even I am a bit clueless. I mostly resort to trial and error when trying to identify mandatory fields... not ideal!