mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-23 11:18:28 +00:00
Test for ppa short URL in aptly mirror create.
This commit is contained in:
1 parent
d9bd016d1f
commit
b5f35cd540
4 files changed
+49
No files matched your search
@@ -188,3 +188,22 @@ class CreateMirror17Test(BaseTest):
|
||||
def check(self):
|
||||
self.check_output()
|
||||
self.check_cmd_output("aptly mirror show mirror17", "mirror_show")
|
||||
|
||||
|
||||
class CreateMirror18Test(BaseTest):
|
||||
"""
|
||||
create mirror: mirror with ppa URL
|
||||
"""
|
||||
fixtureGpg = True
|
||||
outputMatchPrepare = lambda _, s: re.sub(r'Signature made .* using', '', s)
|
||||
|
||||
configOverride = {
|
||||
"ppaDistributorID": "ubuntu",
|
||||
"ppaCodename": "maverick",
|
||||
}
|
||||
|
||||
runCmd = "aptly mirror create -keyring=aptlytest.gpg mirror18 ppa:gladky-anton/gnuplot"
|
||||
|
||||
def check(self):
|
||||
self.check_output()
|
||||
self.check_cmd_output("aptly mirror show mirror18", "mirror_show")
|
||||
Reference in new issue
Block a user