mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-27 13:57:46 +00:00
System test on using complex query when importing.
This commit is contained in:
@@ -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")))
|
||||
|
||||
Reference in New Issue
Block a user