Remove -dry-run flag for aptly snapshot filter, as it is useless. #82

This commit is contained in:
Andrey Smirnov
2014-09-22 01:54:35 +04:00
parent 144ccbf809
commit 9c92b81706
5 changed files with 9 additions and 40 deletions
@@ -1,4 +0,0 @@
Loading packages (4742)...
Building indexes...
Not creating snapshot, as dry run was requested.
@@ -1,4 +0,0 @@
List of snapshots:
* [snap1]: Snapshot from mirror [wheezy-backports]: http://mirror.yandex.ru/debian/ wheezy-backports
To get more information about snapshot, run `aptly snapshot show <name>`.
-15
View File
@@ -56,21 +56,6 @@ class FilterSnapshot3Test(BaseTest):
self.check_cmd_output("aptly snapshot show -with-packages snap2", "snapshot_show", match_prepare=remove_created_at)
class FilterSnapshot4Test(BaseTest):
"""
filter snapshot: dry-run
"""
fixtureDB = True
fixtureCmds = [
"aptly snapshot create snap1 from mirror wheezy-backports",
]
runCmd = "aptly snapshot filter -dry-run snap1 snap2 'rsyslog (>= 7.4.4)'"
def check(self):
self.check_output()
self.check_cmd_output("aptly snapshot list", "snapshot_list")
class FilterSnapshot5Test(BaseTest):
"""
filter snapshot: no such snapshot