summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/tests/ebuild/test_config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/tests/ebuild/test_config.py b/pym/portage/tests/ebuild/test_config.py
index 35694ede7..a1ba202d5 100644
--- a/pym/portage/tests/ebuild/test_config.py
+++ b/pym/portage/tests/ebuild/test_config.py
@@ -3,6 +3,7 @@
import portage
from portage import os
+from portage.dep import Atom
from portage.package.ebuild.config import config
from portage.package.ebuild._config.LicenseManager import LicenseManager
from portage.tests import TestCase
@@ -24,7 +25,7 @@ class ConfigTestCase(TestCase):
settings = config(clone=playground.settings)
result = playground.run(["=dev-libs/A-1"])
pkg, existing_node = result.depgraph._select_package(
- playground.eroot, "=dev-libs/A-1")
+ playground.eroot, Atom("=dev-libs/A-1"))
settings.setcpv(pkg)
# clone after setcpv tests deepcopy of LazyItemsDict