-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File upload #276
File upload #276
Conversation
5388af4
to
3e1fed0
Compare
@@ -41,7 +46,9 @@ def tearDownClass(cls): | |||
def test_01_create_content_unit(self): | |||
"""Create content unit.""" | |||
attrs = gen_file_content_attrs(self.artifact) | |||
self.content_unit.update(self.client.post(FILE_CONTENT_PATH, attrs)) | |||
call_report = self.client.post(FILE_CONTENT_PATH, data=attrs) | |||
created_resources = next(api.poll_spawned_tasks(self.cfg, call_report))["created_resources"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mdellweg, thanks for writing those tests.
Pulp-Smash has a handler to deal with 202
and Pulp 3.
https://pulp-smash.readthedocs.io/en/latest/api/pulp_smash.api.html#pulp_smash.api.smart_handler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
efe35be
to
929a8ae
Compare
This comes together with SingleArtifactContentUploadViewset. fixes #5403 https://pulp.plan.io/issues/5403 Required PR: pulp/pulp_file#276
This comes together with SingleArtifactContentUploadViewset. fixes #5403 https://pulp.plan.io/issues/5403 Required PR: pulp/pulp_file#276
This comes together with SingleArtifactContentUploadViewset. fixes #5403 https://pulp.plan.io/issues/5403 Required PR: pulp/pulp_file#276
This comes together with SingleArtifactContentUploadViewset. fixes #5403 https://pulp.plan.io/issues/5403 Required PR: pulp/pulpcore#305 Required PR: pulp/pulp_file#276
Required PR: pulp/pulpcore-plugin#122 re #5403 https://pulp.plan.io/issues/5403
This comes together with SingleArtifactContentUploadViewset. fixes #5403 https://pulp.plan.io/issues/5403 Required PR: pulp/pulpcore#305 Required PR: pulp/pulp_file#276
929a8ae
to
4a64190
Compare
This comes together with SingleArtifactContentUploadViewset. fixes #5403 https://pulp.plan.io/issues/5403 Required PR: pulp/pulpcore#305 Required PR: pulp/pulp_file#276
This comes together with SingleArtifactContentUploadViewset. fixes #5403 https://pulp.plan.io/issues/5403 Required PR: pulp/pulpcore#305 Required PR: pulp/pulp_file#276
This comes together with SingleArtifactContentUploadViewset. fixes #5403 https://pulp.plan.io/issues/5403 Required PR: pulp/pulpcore#305 Required PR: pulp/pulp_file#276
Required-PR: pulp/pulpcore-plugin#122
re #5403
https://pulp.plan.io/issues/5403