Allow filter to be empty for aptly * search commands

Empty filter implies "select all packages".
This commit is contained in:
Andrey Smirnov
2017-02-10 23:07:06 +03:00
parent 4eef4f1803
commit 33d6cd8c0a
15 changed files with 248901 additions and 23 deletions
+8
View File
@@ -42,3 +42,11 @@ class SearchPackage5Test(BaseTest):
fixtureDB = True
outputMatchPrepare = lambda _, s: "\n".join(sorted(s.split("\n")))
runCmd = "aptly package search -format='{{.Package}}#{{.Version}}' '$$Architecture (i386), Name (% *-dev)'"
class SearchPackage6Test(BaseTest):
"""
search package: no query
"""
fixtureDB = True
outputMatchPrepare = lambda _, s: "\n".join(sorted(s.split("\n")))
runCmd = "aptly package search"