harborapi icon indicating copy to clipboard operation
harborapi copied to clipboard

Add query parameter testing for all endpoints

Open pederhan opened this issue 3 years ago • 0 comments

The unit tests for the endpoints currently don't test whether or not the URL's query parameters contain the correct/expected values. This should be implemented in a way that is reusable by all unit tests, especially for the methods that take the common query, sort, page & page_size parameters.

One way to implement this would be to have a fixture that returns a dict of these values.

pederhan avatar Dec 19 '22 11:12 pederhan