~veebers/autopilot/move-testing-process-run-fixture

« back to all changes in this revision

Viewing changes to autopilot/tests/functional/test_autopilot_functional.py

  • Committer: Tarmac
  • Author(s): Thomi Richards
  • Date: 2014-07-15 05:09:59 UTC
  • mfrom: (497.4.12 refactor-test-logger)
  • Revision ID: tarmac-20140715050959-6c0orwme4v2t8ofu
Refactor test logging code.

Approved by PS Jenkins bot, Christopher Lee.

Show diffs side-by-side

added added

removed removed

Lines of Context:
923
923
 
924
924
        self.assertThat(code, Equals(0))
925
925
        self.assertThat(
926
 
            error, Contains(
 
926
            error,
 
927
            Contains(
927
928
                "Starting test tests.test_simple.OuterTestCase."
928
 
                "test_nested_classes"))
 
929
                "test_nested_classes"
 
930
            )
 
931
        )
929
932
        self.assertThat(
930
 
            error, Contains(
 
933
            error,
 
934
            Contains(
931
935
                "Starting test tests.test_simple.InnerTestCase."
932
 
                "test_produce_log_output"))
 
936
                "test_produce_log_output"
 
937
            )
 
938
        )
933
939
 
934
940
    def test_can_enable_debug_output(self):
935
941
        """Verbose log must show debug messages if we specify '-vv'."""