Fixing tests and fix cleanup.

Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
This commit is contained in:
Christoph Fiehe
2024-10-11 23:09:30 +02:00
committed by André Roth
parent ac5ecf946d
commit f8f28e9554
83 changed files with 540 additions and 174 deletions
+14
View File
@@ -51,3 +51,17 @@ class PublishShow4Test(BaseTest):
"aptly publish snapshot -keyring=${files}/aptly.pub -secret-keyring=${files}/aptly.sec snap1 ppa/smira",
]
runCmd = "aptly publish show -json maverick ppa/smira"
class PublishShow5Test(BaseTest):
"""
publish show: existing local repo
"""
fixtureDB = True
fixturePool = True
fixtureCmds = [
"aptly repo create -distribution=wheezy local-repo",
"aptly publish repo -keyring=${files}/aptly.pub -secret-keyring=${files}/aptly.sec -architectures=i386 local-repo"
]
runCmd = "aptly publish show wheezy"
gold_processor = BaseTest.expand_environ