mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-04 05:10:40 +00:00
Repo can't be dropped if published. #10
This commit is contained in:
@@ -46,3 +46,16 @@ class DropRepo4Test(BaseTest):
|
||||
"""
|
||||
runCmd = "aptly repo drop repo4"
|
||||
expectedCode = 1
|
||||
|
||||
|
||||
class DropRepo5Test(BaseTest):
|
||||
"""
|
||||
drop repo: published
|
||||
"""
|
||||
fixtureCmds = [
|
||||
"aptly repo create repo5",
|
||||
"aptly repo add repo5 ${files}",
|
||||
"aptly publish repo -skip-signing -distribution=squeeze repo5",
|
||||
]
|
||||
runCmd = "aptly repo drop repo5"
|
||||
expectedCode = 1
|
||||
|
||||
Reference in New Issue
Block a user