Part of lp.soyuz.scripts.tests.test_copypackage View In Hierarchy
Known subclasses: lp.soyuz.scripts.tests.test_copypackage.CopyCheckerDifferentArchiveHarness, lp.soyuz.scripts.tests.test_copypackage.CopyCheckerQueries, lp.soyuz.scripts.tests.test_copypackage.CopyCheckerSameArchiveHarness
Method | assertCanCopySourceOnly | Source-only copy is allowed. |
Method | assertCanCopyBinaries | Source and binary copy is allowed. |
Method | assertCannotCopySourceOnly | CopyChecker.checkCopy() for source-only copy raises CannotCopy. |
Method | assertCannotCopyBinaries | CopyChecker.checkCopy() including binaries raises CannotCopy. |
Method | test_cannot_copy_binaries_from_building | Undocumented |
Method | test_cannot_copy_check_perm_no_person | Undocumented |
Method | test_cannot_copy_binaries_from_FTBFS | Undocumented |
Method | test_can_copy_only_source_from_FTBFS | Undocumented |
Method | test_cannot_copy_binaries_from_binaries_pending_publication | Undocumented |
Method | test_can_copy_binaries_from_fullybuilt_and_published | Undocumented |
Source-only copy is allowed.
Initialize a CopyChecker
and assert a checkCopy
call returns
None (more importantly, doesn't raise CannotCopy
) in the test
suite context.
CheckedCopy
objects is in
NEEDSBUILD state.Source and binary copy is allowed.
Initialize a CopyChecker
and assert a checkCopy
call returns
None (more importantly, doesn't raise CannotCopy
) in the test
suite context.
CheckedCopy
objects is in FULLYBUILT_PENDING or FULLYBUILT
status, so there are binaries to be copied.