mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
Add -json output flag to repo list|show
Signed-off-by: Joshua Colson <joshua.colson@gmail.com>
This commit is contained in:
committed by
Lorenzo Bolla
parent
f9d08e1377
commit
1f56fb86e3
@@ -37,3 +37,20 @@ class ListRepo4Test(BaseTest):
|
||||
"aptly repo create repo1",
|
||||
]
|
||||
runCmd = "aptly repo list -raw"
|
||||
|
||||
class ListRepo5Test(BaseTest):
|
||||
"""
|
||||
list local repo: json no repos
|
||||
"""
|
||||
runCmd = "aptly repo list -json"
|
||||
|
||||
class ListRepo6Test(BaseTest):
|
||||
"""
|
||||
list local repo: json normal
|
||||
"""
|
||||
fixtureCmds = [
|
||||
"aptly repo create -comment=Cool3 repo3",
|
||||
"aptly repo create -comment=Cool2 repo2",
|
||||
"aptly repo create repo1",
|
||||
]
|
||||
runCmd = "aptly repo list -json"
|
||||
|
||||
Reference in New Issue
Block a user