Refactoring: make snapshot sorting non-intrusive to collection contents. #168

This commit is contained in:
Andrey Smirnov
2015-01-22 22:01:00 +03:00
parent 7c3629337c
commit d828732307
5 changed files with 75 additions and 55 deletions
@@ -1 +1,2 @@
List of snapshots:
ERROR: sorting method "planet" unknown
+3
View File
@@ -87,5 +87,8 @@ class ListSnapshot7Test(BaseTest):
"""
list snapshots: wrong parameter sort
"""
fixtureCmds = [
"aptly snapshot create empty empty"
]
runCmd = "aptly -sort=planet snapshot list"
expectedCode = 1