unioslo / harborapi

Python async client for the Harbor REST API v2.0.
https://unioslo.github.io/harborapi/
MIT License
28 stars 5 forks source link

Add query parameter testing for all endpoints #14

Open pederhan opened 1 year ago

pederhan commented 1 year ago

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.