-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP Fix tests for new bindings version
- Loading branch information
Showing
17 changed files
with
125 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
def test_correlation_id(cid, pulpcore_bindings, monitor_task): | ||
"""Test that a correlation can be passed as a header and logged.""" | ||
response, status, headers = pulpcore_bindings.OrphansCleanupApi.cleanup_with_http_info({}) | ||
monitor_task(response.task) | ||
task = pulpcore_bindings.TasksApi.read(response.task) | ||
assert headers["Correlation-ID"] == cid | ||
response = pulpcore_bindings.OrphansCleanupApi.cleanup_with_http_info({}) | ||
task = monitor_task(response.data.task) | ||
assert response.headers["Correlation-ID"] == cid | ||
assert task.logging_cid == cid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.