testing/unexpected_passes_common/result_output_unittest.py
def testEmptyInput(self):
    """Tests that an empty input doesn't cause breakage."""
    output = result_output.ConvertBuilderMapToPassOrderedStringDict(
        data_types.BuilderStepMap())
    expected_output = collections.OrderedDict()
    expected_output[result_output.FULL_PASS] = {}
    expected_output[result_output.NEVER_PASS] = {}
    expected_output[result_output.PARTIAL_PASS] = {}
    self.assertEqual(output, expected_output)
Tests that an empty input doesn't cause breakage.
Tests that an empty input doesn't cause breakage.
Tests that an empty input doesn ' t cause breakage .
def testEmptyInput(self):
    output = result_output.ConvertBuilderMapToPassOrderedStringDict(
        data_types.BuilderStepMap())
    expected_output = collections.OrderedDict()
    expected_output[result_output.FULL_PASS] = {}
    expected_output[result_output.NEVER_PASS] = {}
    expected_output[result_output.PARTIAL_PASS] = {}
    self.assertEqual(output, expected_output)
def testEmptyInput ( self ) : output = result_output . ConvertBuilderMapToPassOrderedStringDict ( data_types . BuilderStepMap ( ) ) expected_output = collections . OrderedDict ( ) expected_output [ result_output . FULL_PASS ] = { } expected_output [ result_output . NEVER_PASS ] = { } expected_output [ result_output . PARTIAL_PASS ] = { } self . assertEqual ( output , expected_output )
Tests that an empty input doesn't cause breakage.
Tests that an empty input doesn ' t cause breakage .
"""Tests that an empty input doesn't cause breakage."""
self