Make LazyImportPortageBaselineTestCase assert successful exit status
authorZac Medico <zmedico@gentoo.org>
Sun, 5 Sep 2010 20:33:25 +0000 (13:33 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 5 Sep 2010 20:33:25 +0000 (13:33 -0700)
for tasks.

pym/portage/tests/lazyimport/test_lazy_import_portage_baseline.py

index 3ccbb99cbb8671e2d2c0ab25d0ca61bff8c50ec7..97b1495d49ab4ef11a54cf5b32b3dcb04178a31f 100644 (file)
@@ -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 \