mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
Repo can't be dropped if published. #10
This commit is contained in:
1 parent
3b16ca156a
commit
c325119081
1 file changed
+13
@@ -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