mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-27 13:57:46 +00:00
Added publish show command
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
from lib import BaseTest
|
||||
|
||||
|
||||
class PublishShow1Test(BaseTest):
|
||||
"""
|
||||
publish show: existing snapshot
|
||||
"""
|
||||
fixtureDB = True
|
||||
fixturePool = True
|
||||
fixtureCmds = [
|
||||
"aptly snapshot create snap1 from mirror gnuplot-maverick",
|
||||
"aptly publish snapshot -keyring=${files}/aptly.pub -secret-keyring=${files}/aptly.sec snap1",
|
||||
]
|
||||
runCmd = "aptly publish show maverick"
|
||||
|
||||
|
||||
class PublishShow2Test(BaseTest):
|
||||
"""
|
||||
publish show: under prefix
|
||||
"""
|
||||
fixtureDB = True
|
||||
fixturePool = True
|
||||
fixtureCmds = [
|
||||
"aptly snapshot create snap1 from mirror gnuplot-maverick",
|
||||
"aptly publish snapshot -keyring=${files}/aptly.pub -secret-keyring=${files}/aptly.sec snap1 ppa/smira",
|
||||
]
|
||||
runCmd = "aptly publish show maverick ppa/smira"
|
||||
Reference in New Issue
Block a user