Task #3553
closed
Move tests out of Pulp's application code
Status:
CLOSED - CURRENTRELEASE
Description
The tests currently live at: https://github.com/pulp/pulp/tree/3.0-dev/pulpcore/pulpcore/app/tests
This is atypical. Usually tests live outside of the application code itself as a peer of it.
Since we do have two packages living in one repository, the existing tests would move from /pulpcore/pulpcore/app/tests
to /pulpcore/tests/
. Eventually we would add plugin API tests in /plugin/tests/
- Description updated (diff)
- Groomed changed from No to Yes
- Sprint set to Sprint 35
- Status changed from NEW to ASSIGNED
- Assignee set to dalley
- Status changed from ASSIGNED to POST
This exact scheme doesn't work because the tests/pulpcore package mirrors the pulpcore package and attempts to import the code from tests/pulpcore, which fails.
What we really want is just to move the tests from pulpcore/app/tests to pulpcore/tests. That is the proper structure since both pulpcore and pulpcore-plugin are their own separate python packages.
dalley, Yes that sounds right. Would you want to update the ticket description for posterity?
- Description updated (diff)
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Sprint/Milestone set to 3.0.0
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF
Move tests out of pulpcore/app
closes: #3553 https://pulp.plan.io/issues/3553