projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b9709d
)
Handle non-existent thin manifest in tests.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 15 Sep 2011 02:55:03 +0000
(19:55 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 15 Sep 2011 02:55:03 +0000
(19:55 -0700)
pym/portage/tests/ebuild/test_config.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/ebuild/test_config.py
b/pym/portage/tests/ebuild/test_config.py
index ff3935b295258d5c6742fe5f0ce196b6c0db25c2..3d0be19e4dfc7ff08fc07e59b12f1ca54f04791d 100644
(file)
--- a/
pym/portage/tests/ebuild/test_config.py
+++ b/
pym/portage/tests/ebuild/test_config.py
@@
-229,9
+229,7
@@
class ConfigTestCase(TestCase):
playground = ResolverPlayground(ebuilds=ebuilds, repo_configs=repo_configs)
new_manifest_file = os.path.join(playground.repo_dirs["new_repo"], "dev-libs", "A", "Manifest")
- f = open(new_manifest_file)
- self.assertEqual(len(list(f)), 0)
- f.close()
+ self.assertEqual(os.path.exists(new_manifest_file), False)
old_manifest_file = os.path.join(playground.repo_dirs["old_repo"], "dev-libs", "A", "Manifest")
f = open(old_manifest_file)