From a1ad959a13801de41bb585a3f5697aa188789d90 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 5 Sep 2010 13:33:25 -0700 Subject: [PATCH] Make LazyImportPortageBaselineTestCase assert successful exit status for tasks. --- .../tests/lazyimport/test_lazy_import_portage_baseline.py | 3 +++ 1 file changed, 3 insertions(+) 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 \ -- 2.26.2