summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/sets
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-17 22:18:02 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-17 22:18:02 +0000
commit3b1dae05fdee007798bbeea5169b4feb6e69d4ef (patch)
treef697c55951dd4414a592b53e950093276108b5e8 /pym/portage/tests/sets
parent6675f545519dab7efaac1f8c49b8ba10a6f41972 (diff)
downloadportage-3b1dae05fdee007798bbeea5169b4feb6e69d4ef.tar.gz
portage-3b1dae05fdee007798bbeea5169b4feb6e69d4ef.tar.bz2
portage-3b1dae05fdee007798bbeea5169b4feb6e69d4ef.zip
Use portage.os, _content_encoding, and _fs_encoding where appropriate.
svn path=/main/trunk/; revision=14078
Diffstat (limited to 'pym/portage/tests/sets')
-rw-r--r--pym/portage/tests/sets/files/testConfigFileSet.py3
-rw-r--r--pym/portage/tests/sets/files/testStaticFileSet.py5
2 files changed, 4 insertions, 4 deletions
diff --git a/pym/portage/tests/sets/files/testConfigFileSet.py b/pym/portage/tests/sets/files/testConfigFileSet.py
index 7ea17fd1b..95ea4f44a 100644
--- a/pym/portage/tests/sets/files/testConfigFileSet.py
+++ b/pym/portage/tests/sets/files/testConfigFileSet.py
@@ -3,8 +3,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-import tempfile, os
+import tempfile
+from portage import os
from portage.tests import TestCase, test_cps
from portage.sets.files import ConfigFileSet
diff --git a/pym/portage/tests/sets/files/testStaticFileSet.py b/pym/portage/tests/sets/files/testStaticFileSet.py
index fff583da1..138c99e5e 100644
--- a/pym/portage/tests/sets/files/testStaticFileSet.py
+++ b/pym/portage/tests/sets/files/testStaticFileSet.py
@@ -3,12 +3,11 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-import tempfile, os
+import tempfile
+from portage import os
from portage.tests import TestCase, test_cps
from portage.sets.files import StaticFileSet
-from portage.env.loaders import TestTextLoader
-from portage.env.config import ConfigLoaderKlass
class StaticFileSetTestCase(TestCase):
"""Simple Test Case for StaticFileSet"""