mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-16 10:17:41 +00:00
Add system test on wrong --sort parameter. #73
This commit is contained in:
1 parent
de1fa85127
commit
d3707b4cfe
2 files changed
+11
No files matched your search
@@ -0,0 +1 @@
|
||||
ERROR: sorting method "planet" unknown
|
||||
@@ -65,6 +65,7 @@ class ListSnapshot5Test(BaseTest):
|
||||
]
|
||||
runCmd = "aptly -raw -sort=time snapshot list"
|
||||
|
||||
|
||||
class ListSnapshot6Test(BaseTest):
|
||||
"""
|
||||
list snapshots: regular list sorted by time
|
||||
@@ -80,3 +81,12 @@ class ListSnapshot6Test(BaseTest):
|
||||
"aptly snapshot create snap5 from repo local-repo",
|
||||
]
|
||||
runCmd = "aptly -sort=time snapshot list"
|
||||
|
||||
|
||||
class ListSnapshot7Test(BaseTest):
|
||||
"""
|
||||
list snapshots: wrong parameter sort
|
||||
"""
|
||||
runCmd = "aptly -sort=planet snapshot list"
|
||||
expectedCode = 1
|
||||
|
||||
Reference in new issue
Block a user