Create API regression test for migration/gitlab/api/projects.py POST requests
Overview
To help proactively address any API changes to the GitLab, we need to write regression test to confirm the API endpoints we use are still working as expected
Tasks
-
Write a test class to handle making the multiple wrapped API requests to a test GitLab server -
Write tests making POST requests listed in the API wrapper and comparing them to a response object we are expecting (a mock dictionary is sufficient in this case) -
If the objects are the same, pass the test. If they are different, fail the test -
Update docs if needed (workflow, runbooks, README, migration metrics, etc.)
Acceptance Criteria
-
Existing UTs pass locally