aboutsummaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/update/test_move_slot_ent.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/tests/update/test_move_slot_ent.py')
-rw-r--r--pym/portage/tests/update/test_move_slot_ent.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/tests/update/test_move_slot_ent.py b/pym/portage/tests/update/test_move_slot_ent.py
index fcb0cc64c..3e49e1144 100644
--- a/pym/portage/tests/update/test_move_slot_ent.py
+++ b/pym/portage/tests/update/test_move_slot_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
@@ -94,12 +94,12 @@ class MoveSlotEntTestCase(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)