Comment 4 for bug 987514

Revision history for this message
Arfrever Frehtes Taifersar Arahesis (arfrever-fta) wrote :

Results for revision 169:

$ python3.2 -m testtools.run subunit.test_suite
Tests running...
======================================================================
ERROR: subunit.tests.test_subunit_filter.TestFilterCommand.test_default
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/subunit/python/subunit/tests/test_subunit_filter.py", line 323, in test_default
    "test: foo\n"
  File "/tmp/subunit/python/subunit/tests/test_subunit_filter.py", line 310, in run_command
    out, err = ps.communicate(stream)
  File "/usr/lib64/python3.2/subprocess.py", line 819, in communicate
    return self._communicate(input)
  File "/usr/lib64/python3.2/subprocess.py", line 1435, in _communicate
    stdout, stderr = self._communicate_with_poll(input)
  File "/usr/lib64/python3.2/subprocess.py", line 1502, in _communicate_with_poll
    input_offset += os.write(fd, chunk)
TypeError: 'str' does not support the buffer interface
======================================================================
ERROR: subunit.tests.test_subunit_filter.TestFilterCommand.test_tags
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/subunit/python/subunit/tests/test_subunit_filter.py", line 336, in test_tags
    "tags: a\n"
  File "/tmp/subunit/python/subunit/tests/test_subunit_filter.py", line 310, in run_command
    out, err = ps.communicate(stream)
  File "/usr/lib64/python3.2/subprocess.py", line 819, in communicate
    return self._communicate(input)
  File "/usr/lib64/python3.2/subprocess.py", line 1435, in _communicate
    stdout, stderr = self._communicate_with_poll(input)
  File "/usr/lib64/python3.2/subprocess.py", line 1502, in _communicate_with_poll
    input_offset += os.write(fd, chunk)
TypeError: 'str' does not support the buffer interface
======================================================================
ERROR: subunit.tests.test_subunit_filter.TestTestResultFilter.test_tags_tracked_correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/subunit/python/subunit/tests/test_subunit_filter.py", line 107, in test_tags_tracked_correctly
    self.run_tests(result_filter, input_stream)
  File "/tmp/subunit/python/subunit/tests/test_subunit_filter.py", line 67, in run_tests
    test = subunit.ProtocolTestCase(BytesIO(input_stream))
TypeError: 'str' does not support the buffer interface
======================================================================
FAIL: subunit.tests.test_subunit_filter.TestTestResultFilter.test_tag_filter
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/subunit/python/subunit/tests/test_subunit_filter.py", line 94, in test_tag_filter
    self.assertEquals(tests_expected, tests_included)
testtools.matchers.MismatchError: !=:
reference = <map object at 0x245da50>
actual = [<subunit.RemotedTestCase description='passed'>,
 <subunit.RemotedTestCase description='error'>,
 <subunit.RemotedTestCase description='skipped'>,
 <subunit.RemotedTestCase description='todo'>]

Ran 256 tests in 0.528s
FAILED (failures=4)