diff options
author | Sebastian Luther <SebastianLuther@gmx.de> | 2010-09-14 20:45:55 +0200 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-14 18:09:03 -0700 |
commit | 884f96b2ce63596821e30422e773a139f73afec0 (patch) | |
tree | 22d85f5438fceae0c2caeb2c7f44c1d781cf4f8d /pym/portage/tests/ebuild | |
parent | b666024c82ab73ab5c2cbdfb2c8b12ec008b2b81 (diff) | |
download | portage-884f96b2ce63596821e30422e773a139f73afec0.tar.gz portage-884f96b2ce63596821e30422e773a139f73afec0.tar.bz2 portage-884f96b2ce63596821e30422e773a139f73afec0.zip |
ResolverPlayground: Add multi repo support
Diffstat (limited to 'pym/portage/tests/ebuild')
-rw-r--r-- | pym/portage/tests/ebuild/test_config.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/pym/portage/tests/ebuild/test_config.py b/pym/portage/tests/ebuild/test_config.py index 0ac68ac1f..d5656346c 100644 --- a/pym/portage/tests/ebuild/test_config.py +++ b/pym/portage/tests/ebuild/test_config.py @@ -114,12 +114,14 @@ class ConfigTestCase(TestCase): "dev-libs/E-1": { }, } - repo_config = { - "package.mask": - ( - "dev-libs/A", - "dev-libs/C", - ), + repo_configs = { + "test_repo": { + "package.mask": + ( + "dev-libs/A", + "dev-libs/C", + ), + } } profile = { @@ -162,7 +164,7 @@ class ConfigTestCase(TestCase): success = False), ) - playground = ResolverPlayground(ebuilds=ebuilds, repo_config=repo_config, \ + playground = ResolverPlayground(ebuilds=ebuilds, repo_configs=repo_configs, \ profile=profile, user_config=user_config) try: for test_case in test_cases: |