testing/unexpected_passes_common/data_types_unittest.py
def testIterBuilderStepMaps(self):
    """Tests that iterating to BuilderStepMap works as expected."""
    test_expectation_map = self._GetSampleTestExpectationMap()
    expected_values = []
    for test_name, expectation_map in test_expectation_map.items():
      for expectation, builder_map in expectation_map.items():
        expected_values.append((test_name, expectation, builder_map))
    returned_values = []
    for (test_name, expectation,
         builder_map) in test_expectation_map.IterBuilderStepMaps():
      returned_values.append((test_name, expectation, builder_map))
    self.assertEqual(len(returned_values), len(expected_values))
    for rv in returned_values:
      self.assertIn(rv, expected_values)
      self.assertIsInstance(rv[-1], data_types.BuilderStepMap)
Tests that iterating to BuilderStepMap works as expected.
Tests that iterating to BuilderStepMap works as expected.
Tests that iterating to BuilderStepMap works as expected .
def testIterBuilderStepMaps(self):
    test_expectation_map = self._GetSampleTestExpectationMap()
    expected_values = []
    for test_name, expectation_map in test_expectation_map.items():
      for expectation, builder_map in expectation_map.items():
        expected_values.append((test_name, expectation, builder_map))
    returned_values = []
    for (test_name, expectation,
         builder_map) in test_expectation_map.IterBuilderStepMaps():
      returned_values.append((test_name, expectation, builder_map))
    self.assertEqual(len(returned_values), len(expected_values))
    for rv in returned_values:
      self.assertIn(rv, expected_values)
      self.assertIsInstance(rv[-1], data_types.BuilderStepMap)
def testIterBuilderStepMaps ( self ) : test_expectation_map = self . _GetSampleTestExpectationMap ( ) expected_values = [ ] for test_name , expectation_map in test_expectation_map . items ( ) : for expectation , builder_map in expectation_map . items ( ) : expected_values . append ( ( test_name , expectation , builder_map ) ) returned_values = [ ] for ( test_name , expectation , builder_map ) in test_expectation_map . IterBuilderStepMaps ( ) : returned_values . append ( ( test_name , expectation , builder_map ) ) self . assertEqual ( len ( returned_values ) , len ( expected_values ) ) for rv in returned_values : self . assertIn ( rv , expected_values ) self . assertIsInstance ( rv [ - 1 ] , data_types . BuilderStepMap )
Tests that iterating to BuilderStepMap works as expected.
Tests that iterating to BuilderStepMap works as expected .
"""Tests that iterating to BuilderStepMap works as expected."""
self