Ran
|
Files
6
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
Rewrite function import_upload_unit After a content unit has been uploaded to Pulp, an HTTP POST request must be sent to actually import it into a repository. Depending on the type of unit being imported, the body of that HTTP POST request varies. Unfortunately, `pulp_smash.utils.upload_import_unit` is inflexible in this regard. Rewrite the function so that arbitrarily complex JSON data may be sent as the body of the HTTP POST request. This allows `import_upload_unit` to be used when uploading and importing Python content units. See: 9973e8911
377 of 593 relevant lines covered (63.58%)
0.64 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|