Part of lp.soyuz.scripts.tests.test_expire_archive_files View In Hierarchy
Known subclasses: lp.soyuz.scripts.tests.test_expire_archive_files.TestPartnerExpiry, lp.soyuz.scripts.tests.test_expire_archive_files.TestPPAExpiry
These will be shared irrespective of archive type (ppa/partner).
Method | testNoExpirationWithNoDateremoved | Test that no expiring happens if no dateremoved set. |
Method | testNoExpirationWithDateUnderThreshold | Test no expiring if dateremoved too recent. |
Method | testExpirationWithDateOverThreshold | Test expiring works if dateremoved old enough. |
Method | testNoExpirationWithDateOverThresholdAndOtherValidPublication | Test no expiry if dateremoved old enough but other publication. |
Method | testNoExpirationWithDateOverThresholdAndOtherPubUnderThreshold | Test no expiring. |
Method | testNoExpirationWithDateOverThresholdAndOtherPubOverThreshold | Test expiring works. |
Method | testDryRun | Test that when dryrun is specified, nothing is expired. |
Method | testDoesNotAffectPrimary | Test that expiry does not happen for non-PPA publications. |
Test no expiring if dateremoved old enough but other publication not over date threshold.