Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

636 - API delete nonexisting upload_id now returns 404 #1693

Merged
merged 1 commit into from Mar 6, 2015

Conversation

ipanova
Copy link
Member

@ipanova ipanova commented Mar 4, 2015

(as mentioned in docs)
closes 636

@ipanova ipanova added the Katello label Mar 4, 2015
upload_id = '1234'

uploaded_filename = self.upload_manager._upload_file_path(upload_id)
self.assertTrue(not os.path.exists(uploaded_filename))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you might consider using assertFalse

@pulpbot
Copy link
Member

pulpbot commented Mar 5, 2015

Refer to this link for build results (access rights to CI server needed):
https://pulp-jenkins.rhev-ci-vms.eng.rdu2.redhat.com//job/unittest-pulp-pr/327/
Test PASSed.

@ipanova ipanova merged commit 145125c into pulp:master Mar 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
3 participants