mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
Imported Upstream version 1.0.1
This commit is contained in:
1 parent
1ee35b841d
commit
4f12259bc0
5531 files changed
+1834599
-742844
No files matched your search
@@ -0,0 +1,40 @@
|
||||
from lib import BaseTest
|
||||
|
||||
|
||||
class RunTask1Test(BaseTest):
|
||||
"""
|
||||
task run: simple commands, 1-word command
|
||||
"""
|
||||
gold_processor = BaseTest.expand_environ
|
||||
|
||||
runCmd = "aptly task run repo list, repo create local, repo drop local, version"
|
||||
|
||||
|
||||
class RunTask2Test(BaseTest):
|
||||
"""
|
||||
task run: commands with args
|
||||
"""
|
||||
runCmd = "aptly task run -- repo list -raw, repo create local, repo list"
|
||||
|
||||
|
||||
class RunTask3Test(BaseTest):
|
||||
"""
|
||||
task run: failure
|
||||
"""
|
||||
expectedCode = 1
|
||||
runCmd = "aptly task run -- repo show a, repo create local, repo list"
|
||||
|
||||
|
||||
class RunTask4Test(BaseTest):
|
||||
"""
|
||||
task run: from file
|
||||
"""
|
||||
runCmd = "aptly task run -filename=${testfiles}/task"
|
||||
|
||||
|
||||
class RunTask5Test(BaseTest):
|
||||
"""
|
||||
task run: from file not found
|
||||
"""
|
||||
expectedCode = 1
|
||||
runCmd = "aptly task run -filename=not_found"
|
||||
Reference in new issue
Block a user