Repo can't be dropped if published. #10

This commit is contained in:
Andrey Smirnov committed 2014-03-26 21:10:43 +04:00
1 parent 3b16ca156a
commit c325119081
1 file changed
+13
+13
View File
@@ -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