hybrid: Honor filter_packages

JIRA: COMPOSE-3011
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2018-10-16 12:29:00 +02:00
parent 111af836ea
commit 4f712259d7
4 changed files with 49 additions and 6 deletions

View file

@ -29,6 +29,7 @@ class TestGetCmd(unittest.TestCase):
["pkg"],
["mod:1.0"],
platform="f29",
filter_packages=["foo", "bar"],
)
self.assertEqual(
cmd,
@ -42,6 +43,8 @@ class TestGetCmd(unittest.TestCase):
"--repo=repo-0,repo,/tmp/first",
"--repo=repo-1,repo,/tmp/second",
"--platform=f29",
"--exclude=bar",
"--exclude=foo",
"module(mod:1.0)",
"pkg",
],