-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
Goal:
- Create contextual methods for uploading rpms to a repository
- Write one or more tests that test this functionality from a UI and api perspective
Acceptance Criteria:
Implement the following tests:
1. normal upload
- Create an upload repository
- Upload one or more RPMs
- finish the upload, creating a new repository snapshot
- verify that a new snapshots is created
- verify that the rpm listing shows the new rpms for the created snapshot
- verify that the rpm listing shows the new rpms for introspection data
2. re-uploading to the same repository
- Create an upload repository
- Upload one or more RPMs
- finish the upload, creating a new repository snapshot
- attempt to upload the rpm again to the same repository
- finish the upload
- verify no new snapshot is created
3. re-uploading to a new repository
- Create an upload repository
- Upload one or more RPMs
- finish the upload, creating a new repository snapshot
- Create a 2nd upload repository
- attempt to upload the rpm to the 2nd repository
- finish the upload
- verify a new snapshot is created
- verify that the rpm listing shows the new rpms for the created snapshot
- verify that the rpm listing shows the new rpms for introspection data
Could be broken down into 2-3 tasks