← Back to team overview

launchpad-dev team mailing list archive

help with yuixhr_fixture tests in my useoops branch

 

I need a hand with
https://code.launchpad.net/~lifeless/launchpad/useoops - I have a
failing test that has -no- apparent relation to what I'm doing.

The branch changes a raft of tests to use a better API (death to
getLastOops) and as part of that uses amqp to send oopses (when
configured).

I have some tweaks to do from review but no actual bugs identified.

The test output is:

======================================================================
FAILURE: lp/testing/tests/test_yuixhr_fixture (subunit.RemotedTestCase)
----------------------------------------------------------------------
_StringException: Text attachment: traceback
------------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
 File "/var/launchpad/test/lib/lp/testing/__init__.py", line 905, in
checkResults
   self.assertEqual([], failures, '\n'.join(failures))
AssertionError: !=:
reference = []
actual = ['Failure in lp/testing/tests/test_yuixhr_fixture.Fixture
setup and teardown tests.test_simple_setup: Unexpected error: Unknown
error',
 'Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
teardown tests.test_teardown_receives_data_from_setup: Unexpected
error: Unknown error',
 'Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
teardown tests.test_login_works: Unexpected error: Unknown error',
 'Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
teardown tests.test_multiple_setup_calls: Unexpected error: Unknown
error',
 'Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
teardown tests.test_setup_called_twice_with_same_fixture: Unexpected
error: Unknown error',
 'Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
teardown tests.test_setup_with_multiple_fixtures: Unexpected error:
Unknown error']
: Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
teardown tests.test_simple_setup: Unexpected error: Unknown error
Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
teardown tests.test_teardown_receives_data_from_setup: Unexpected
error: Unknown error
Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
teardown tests.test_login_works: Unexpected error: Unknown error
Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
teardown tests.test_multiple_setup_calls: Unexpected error: Unknown
error
Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
teardown tests.test_setup_called_twice_with_same_fixture: Unexpected
error: Unknown error
Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
teardown tests.test_setup_with_multiple_fixtures: Unexpected error:
Unknown error

------------

-Rob


Follow ups