diff options
Diffstat (limited to 'pym/portage/tests/env/config/test_PackageMaskFile.py')
-rw-r--r-- | pym/portage/tests/env/config/test_PackageMaskFile.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/tests/env/config/test_PackageMaskFile.py b/pym/portage/tests/env/config/test_PackageMaskFile.py index 83c9095fd..d97eeebe8 100644 --- a/pym/portage/tests/env/config/test_PackageMaskFile.py +++ b/pym/portage/tests/env/config/test_PackageMaskFile.py @@ -12,12 +12,12 @@ class PackageMaskFileTestCase(TestCase): atoms = ['sys-apps/portage','dev-util/diffball','not@va1id@t0m'] - def testPackageMaskLoad(self): + def testPackageMaskFile(self): self.BuildFile() try: f = PackageMaskFile(self.fname) - f.load(recursive=False) - [atom for atom in f.iterkeys() if self.assertTrue(atom in self.atoms)] + f.load() + [atom for atom in f.keys() if self.assertTrue(atom in self.atoms)] finally: self.NukeFile() |