mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-27 13:57:46 +00:00
Revive skipped tests
This commit is contained in:
@@ -58,10 +58,10 @@ class CreateMirror6Test(BaseTest):
|
||||
"""
|
||||
create mirror: missing release
|
||||
"""
|
||||
skipTest = "Requesting obsolete file - stretch/InRelease"
|
||||
expectedCode = 1
|
||||
requiresGPG1 = True
|
||||
|
||||
configOverride = {"max-tries": 1}
|
||||
runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror6 http://cdn-fastly.deb.debian.org/debian/ suslik"
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ class CreateMirror11Test(BaseTest):
|
||||
"""
|
||||
create mirror: repo with Release + Release.gpg verification
|
||||
"""
|
||||
skipTest = "Requesting obsolete file - stretch/InRelease"
|
||||
configOverride = {"max-tries": 1}
|
||||
runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror11 http://cdn-fastly.deb.debian.org/debian/ stretch"
|
||||
fixtureGpg = True
|
||||
|
||||
@@ -141,7 +141,7 @@ class CreateMirror12Test(BaseTest):
|
||||
"""
|
||||
create mirror: repo with Release+Release.gpg verification, failure
|
||||
"""
|
||||
skipTest = "Requesting obsolete file - stretch/InRelease"
|
||||
configOverride = {"max-tries": 1}
|
||||
runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror12 http://cdn-fastly.deb.debian.org/debian/ stretch"
|
||||
fixtureGpg = False
|
||||
gold_processor = BaseTest.expand_environ
|
||||
@@ -214,9 +214,9 @@ class CreateMirror18Test(BaseTest):
|
||||
"""
|
||||
create mirror: mirror with ppa URL
|
||||
"""
|
||||
skipTest = "Requesting obsolete file - stretch/InRelease"
|
||||
fixtureGpg = True
|
||||
configOverride = {
|
||||
"max-tries": 1,
|
||||
"ppaDistributorID": "ubuntu",
|
||||
"ppaCodename": "maverick",
|
||||
}
|
||||
@@ -255,8 +255,8 @@ class CreateMirror20Test(BaseTest):
|
||||
"""
|
||||
create mirror: using failing HTTP_PROXY
|
||||
"""
|
||||
skipTest = "Requesting obsolete file - stretch/InRelease"
|
||||
fixtureGpg = True
|
||||
configOverride = {"max-tries": 1}
|
||||
|
||||
runCmd = "aptly -architectures='i386' mirror create -keyring=aptlytest.gpg -with-sources mirror20 http://security.debian.org/ stretch/updates main"
|
||||
environmentOverride = {"HTTP_PROXY": "127.0.0.1:3137"}
|
||||
@@ -279,7 +279,7 @@ class CreateMirror21Test(BaseTest):
|
||||
"""
|
||||
create mirror: flat repository in subdir
|
||||
"""
|
||||
skipTest = "Requesting obsolete file - InRelease"
|
||||
configOverride = {"max-tries": 1}
|
||||
runCmd = "aptly mirror create -keyring=aptlytest.gpg mirror21 http://pkg.jenkins-ci.org/debian-stable binary/"
|
||||
fixtureGpg = True
|
||||
|
||||
@@ -386,9 +386,8 @@ class CreateMirror30Test(BaseTest):
|
||||
"""
|
||||
create mirror: repo with InRelease verification, failure (internal GPG implementation)
|
||||
"""
|
||||
skipTest = "Requesting obsolete file - stretch/InRelease"
|
||||
runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror10 http://cdn-fastly.deb.debian.org/debian/ stretch"
|
||||
configOverride = {"gpgProvider": "internal"}
|
||||
configOverride = {"gpgProvider": "internal", "max-tries": 1}
|
||||
gold_processor = BaseTest.expand_environ
|
||||
fixtureGpg = False
|
||||
expectedCode = 1
|
||||
@@ -401,9 +400,8 @@ class CreateMirror31Test(BaseTest):
|
||||
"""
|
||||
create mirror: repo with Release + Release.gpg verification (internal GPG implementation)
|
||||
"""
|
||||
skipTest = "Requesting obsolete file - stretch/InRelease"
|
||||
runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror11 http://cdn-fastly.deb.debian.org/debian/ stretch"
|
||||
configOverride = {"gpgProvider": "internal"}
|
||||
configOverride = {"gpgProvider": "internal", "max-tries": 1 }
|
||||
fixtureGpg = True
|
||||
|
||||
def outputMatchPrepare(self, s):
|
||||
@@ -414,7 +412,7 @@ class CreateMirror32Test(BaseTest):
|
||||
"""
|
||||
create mirror: repo with Release + Release.gpg verification (gpg2)
|
||||
"""
|
||||
skipTest = "Requesting obsolete file - stretch/InRelease"
|
||||
configOverride = {"max-tries": 1}
|
||||
runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror32 http://cdn-fastly.deb.debian.org/debian/ stretch"
|
||||
fixtureGpg = True
|
||||
requiresGPG2 = True
|
||||
|
||||
Reference in New Issue
Block a user