zuul/tests/unit
James E. Blair 1c236dfe93 Tests: store debug logs on error
Rather than using the FakeLogger fixture, which always attaches
the log stream as a detail, use standard loggers that output to
a stringio, and then, only if a test fails, attach the full
log as a detail.

This allows us to report full debug-level logs for failing tests
in the gate (which normally has a limit on how large subunit files
can be).

Change-Id: I9e6509b7b69838d29582b040ef22f1d66010d45e
2017-02-06 10:10:48 -08:00
..
__init__.py Move tests into test/unit 2017-01-24 10:18:38 -08:00
test_change_matcher.py Move tests into test/unit 2017-01-24 10:18:38 -08:00
test_clonemapper.py Tests: store debug logs on error 2017-02-06 10:10:48 -08:00
test_cloner.py Tests: store debug logs on error 2017-02-06 10:10:48 -08:00
test_cloner_cmd.py Tests: store debug logs on error 2017-02-06 10:10:48 -08:00
test_connection.py Move tests into test/unit 2017-01-24 10:18:38 -08:00
test_daemon.py Move tests into test/unit 2017-01-24 10:18:38 -08:00
test_gerrit.py Move tests into test/unit 2017-01-24 10:18:38 -08:00
test_layoutvalidator.py Move tests into test/unit 2017-01-24 10:18:38 -08:00
test_merger_repo.py Tests: store debug logs on error 2017-02-06 10:10:48 -08:00
test_model.py Use playbooks defined in repos 2017-02-03 14:23:58 -08:00
test_nodepool.py Move tests into test/unit 2017-01-24 10:18:38 -08:00
test_openstack.py Tests: store debug logs on error 2017-02-06 10:10:48 -08:00
test_requirements.py Tests: store debug logs on error 2017-02-06 10:10:48 -08:00
test_scheduler.py Tests: store debug logs on error 2017-02-06 10:10:48 -08:00
test_stack_dump.py Move tests into test/unit 2017-01-24 10:18:38 -08:00
test_v3.py Tests: store debug logs on error 2017-02-06 10:10:48 -08:00
test_webapp.py Move tests into test/unit 2017-01-24 10:18:38 -08:00
test_zuultrigger.py Tests: store debug logs on error 2017-02-06 10:10:48 -08:00