Skip to content

Parallel test runner swallows standard output #182

@pzahemszky

Description

@pzahemszky

The parallel test runner seems to swallow the standard output. See the example below.

test_haas_parallel.py:

import unittest


class TestHaas(unittest.TestCase):

    def test_haas_one(self):
        print('one')

    def test_haas_two(self):
        print('two')

Running haas with the default test runner displays the one and two messages as expected:

$ haas test_haas_parallel.py
one
.two
.
----------------------------------------------------------------------
Ran 2 tests in 0.000s

OK

Running haas with the --runner parallel option makes them disappear.

$ haas --runner parallel test_haas_parallel.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.121s

OK

Python 3.6.5
haas 0.8.0
stevedore 1.29.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions