test_output_filter.py tests fail with attribute error on self.option

Bug #1284446 reported by Pádraig Brady
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subunit
Invalid
Undecided
Unassigned

Bug Description

Lots of instances, but all in test_output_filter.py and look like:

Traceback (most recent call last):
  File "/home/me/rpmbuild/BUILD/python-subunit-0.0.18/python/subunit/tests/test_output_filter.py", line 118, in test_can_override_stdin_filename
    args=[self.option, "foo", "--attach-file", "-", '--file-name', 'foo']
AttributeError: 'TestStatusArgParserTests' object has no attribute 'option'

Note the tests are being run like:

PYTHONPATH=%{buildroot}%{python_sitelib} %{__python} -m testtools.run discover python/subunit/tests

Revision history for this message
Robert Collins (lifeless) wrote :

Please use make check to run the test suite.

Changed in subunit:
status: New → Invalid
Revision history for this message
Pádraig Brady (p-draigbrady) wrote :

Seriously. I don't see a Makefile

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.