mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Publishing empty snapshot should fail.
This commit is contained in:
@@ -314,3 +314,15 @@ class PublishSnapshot13Test(BaseTest):
|
||||
|
||||
# verify contents except of sums
|
||||
self.check_file_contents('public/dists/maverick/Release', 'release', match_prepare=strip_processor)
|
||||
|
||||
|
||||
class PublishSnapshot14Test(BaseTest):
|
||||
"""
|
||||
publish snapshot: empty snapshot is not publishable
|
||||
"""
|
||||
fixtureDB = True
|
||||
fixtureCmds = [
|
||||
"aptly snapshot create snap14 empty",
|
||||
]
|
||||
runCmd = "aptly publish snapshot --distribution=mars snap14"
|
||||
expectedCode = 1
|
||||
|
||||
Reference in New Issue
Block a user