Skip to content

Refactors ml_model_packages_spec suite

What does this MR do and why?

Refactors ml_model_packages_spec suite

The tests covering the logic of the endpoint were being run for every combination of authnz, which created a lot of unnecessary and duplicated tests. As we are adding more logic, the number of tests would explode even further, so this commit splits functional testing from access testing.

This reduces the number of tests from 341 to 180, and the time to execute it from ~2min to ~1min

Merge request reports