System test on using complex query when importing.

This commit is contained in:
Andrey Smirnov
2014-07-12 18:02:57 +04:00
parent ae3c98c210
commit bc27c6e14d
2 changed files with 26 additions and 0 deletions
+14
View File
@@ -119,3 +119,17 @@ class ImportRepo8Test(BaseTest):
]
runCmd = "aptly repo import wheezy-main repo1 pyspi"
expectedCode = 1
class ImportRepo9Test(BaseTest):
"""
import to local repo: import with complex query
"""
fixtureDB = True
fixtureCmds = [
"aptly repo create -comment=Cool -distribution=squeeze repo1",
]
runCmd = "aptly repo import wheezy-main repo1 '(httpd, $$Source (=nginx)) | exim4'"
def output_processor(self, output):
return "\n".join(sorted(output.split("\n")))