mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
test: add system tests for AppStream mirror create, edit, and update
This commit is contained in:
committed by
André Roth
parent
7276b9621f
commit
6ecbc9ba90
@@ -533,3 +533,14 @@ class CreateMirror37Test(BaseTest):
|
||||
self.check_output()
|
||||
self.check_cmd_output("aptly mirror show mirror37",
|
||||
"mirror_show", match_prepare=removeDates)
|
||||
|
||||
|
||||
class CreateMirror38Test(BaseTest):
|
||||
"""
|
||||
create mirror: mirror with appstream enabled
|
||||
"""
|
||||
runCmd = "aptly -architectures=amd64 mirror create -ignore-signatures -with-appstream mirror38 http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/ stretch"
|
||||
|
||||
def check(self):
|
||||
self.check_output()
|
||||
self.check_cmd_output("aptly mirror show mirror38", "mirror_show")
|
||||
|
||||
Reference in New Issue
Block a user