diff options
Diffstat (limited to 'pym/portage/tests/update/test_move_ent.py')
-rw-r--r-- | pym/portage/tests/update/test_move_ent.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/tests/update/test_move_ent.py b/pym/portage/tests/update/test_move_ent.py index 2504dee2b..d9647a95e 100644 --- a/pym/portage/tests/update/test_move_ent.py +++ b/pym/portage/tests/update/test_move_ent.py @@ -1,4 +1,4 @@ -# Copyright 2012 Gentoo Foundation +# Copyright 2012-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 import textwrap @@ -59,12 +59,12 @@ class MoveEntTestCase(TestCase): settings = playground.settings trees = playground.trees eroot = settings["EROOT"] - portdir = settings["PORTDIR"] + test_repo_location = settings.repositories["test_repo"].location portdb = trees[eroot]["porttree"].dbapi vardb = trees[eroot]["vartree"].dbapi bindb = trees[eroot]["bintree"].dbapi - updates_dir = os.path.join(portdir, "profiles", "updates") + updates_dir = os.path.join(test_repo_location, "profiles", "updates") try: ensure_dirs(updates_dir) |