diff options
author | Marius Mauch <genone@gentoo.org> | 2007-09-11 06:06:24 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2007-09-11 06:06:24 +0000 |
commit | 59e24f5550b9dcb3a88595b40c0e44be43aca26b (patch) | |
tree | 5cb0431c0efa4292577f7dc1d51a39a74b374b7f /pym/portage/tests/sets | |
parent | 8d9eeabf80ccfaa3076584872d16747fd9160ec4 (diff) | |
download | portage-59e24f5550b9dcb3a88595b40c0e44be43aca26b.tar.gz portage-59e24f5550b9dcb3a88595b40c0e44be43aca26b.tar.bz2 portage-59e24f5550b9dcb3a88595b40c0e44be43aca26b.zip |
Remove name from PackageSet, it's pointless as the caller has to keep track of the name himself anyway
svn path=/main/trunk/; revision=7767
Diffstat (limited to 'pym/portage/tests/sets')
-rw-r--r-- | pym/portage/tests/sets/files/testConfigFileSet.py | 5 | ||||
-rw-r--r-- | pym/portage/tests/sets/files/testStaticFileSet.py | 2 | ||||
-rw-r--r-- | pym/portage/tests/sets/shell/testShell.py | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/pym/portage/tests/sets/files/testConfigFileSet.py b/pym/portage/tests/sets/files/testConfigFileSet.py index 69acf3d10..7d588fbc3 100644 --- a/pym/portage/tests/sets/files/testConfigFileSet.py +++ b/pym/portage/tests/sets/files/testConfigFileSet.py @@ -22,11 +22,10 @@ class ConfigFileSetTestCase(TestCase): os.close(fd) def tearDown(self): -# os.unlink(self.testfile) - pass + os.unlink(self.testfile) def testConfigStaticFileSet(self): - s = ConfigFileSet('test', self.testfile) + s = ConfigFileSet(self.testfile) s.load() self.assertEqual(set(test_cps), s.getAtoms()) diff --git a/pym/portage/tests/sets/files/testStaticFileSet.py b/pym/portage/tests/sets/files/testStaticFileSet.py index 8f0b5d050..71c47dc1b 100644 --- a/pym/portage/tests/sets/files/testStaticFileSet.py +++ b/pym/portage/tests/sets/files/testStaticFileSet.py @@ -22,7 +22,7 @@ class StaticFileSetTestCase(TestCase): os.unlink(self.testfile) def testSampleStaticFileSet(self): - s = StaticFileSet('test', self.testfile) + s = StaticFileSet(self.testfile) s.load() self.assertEqual(set(test_cps), s.getAtoms()) diff --git a/pym/portage/tests/sets/shell/testShell.py b/pym/portage/tests/sets/shell/testShell.py index 938c265e1..b1f4aa46c 100644 --- a/pym/portage/tests/sets/shell/testShell.py +++ b/pym/portage/tests/sets/shell/testShell.py @@ -23,6 +23,6 @@ class CommandOutputSetTestCase(TestCase): command += " -e " for a in input: command += "\"%s\n\"" % a - s = CommandOutputSet('testset', command) + s = CommandOutputSet(command) atoms = s.getAtoms() self.assertEqual(atoms, input) |