diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-05 13:33:25 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-05 13:33:25 -0700 |
commit | a1ad959a13801de41bb585a3f5697aa188789d90 (patch) | |
tree | a8cf8264256abde4c4d4854600e7b6905f279753 | |
parent | 1a6c8a3c450fa8f4d8132c3d121272af7e256574 (diff) | |
download | portage-a1ad959a13801de41bb585a3f5697aa188789d90.tar.gz portage-a1ad959a13801de41bb585a3f5697aa188789d90.tar.bz2 portage-a1ad959a13801de41bb585a3f5697aa188789d90.zip |
Make LazyImportPortageBaselineTestCase assert successful exit status
for tasks.
-rw-r--r-- | pym/portage/tests/lazyimport/test_lazy_import_portage_baseline.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/tests/lazyimport/test_lazy_import_portage_baseline.py b/pym/portage/tests/lazyimport/test_lazy_import_portage_baseline.py index 3ccbb99cb..97b1495d4 100644 --- a/pym/portage/tests/lazyimport/test_lazy_import_portage_baseline.py +++ b/pym/portage/tests/lazyimport/test_lazy_import_portage_baseline.py @@ -47,6 +47,9 @@ class LazyImportPortageBaselineTestCase(TestCase): consumer.start() consumer.wait() + self.assertEqual(producer.wait(), os.EX_OK) + self.assertEqual(consumer.wait(), os.EX_OK) + output = consumer.getvalue().decode('ascii', 'replace').split() unexpected_modules = " ".join(sorted(x for x in output \ |