testing/unexpected_passes_common/result_output_unittest.py
def testSingleLine(self):
    """Tests when all bugs can fit on a single line."""
    urls = [
        'crbug.com/1234',
        'https://crbug.com/angleproject/2345',
    ]
    result_output._OutputUrlsForClDescription(urls, [], self._file_handle)
    self._file_handle.close()
    with open(self._filepath) as f:
      self.assertEqual(f.read(), ('Affected bugs for CL description:\n'
                                  'Bug: 1234, angleproject:2345\n'))
Tests when all bugs can fit on a single line.
Tests when all bugs can fit on a single line.
Tests when all bugs can fit on a single line .
def testSingleLine(self):
    urls = [
        'crbug.com/1234',
        'https://crbug.com/angleproject/2345',
    ]
    result_output._OutputUrlsForClDescription(urls, [], self._file_handle)
    self._file_handle.close()
    with open(self._filepath) as f:
      self.assertEqual(f.read(), ('Affected bugs for CL description:\n'
                                  'Bug: 1234, angleproject:2345\n'))
def testSingleLine ( self ) : urls = [ 'crbug.com/1234' , 'https://crbug.com/angleproject/2345' , ] result_output . _OutputUrlsForClDescription ( urls , [ ] , self . _file_handle ) self . _file_handle . close ( ) with open ( self . _filepath ) as f : self . assertEqual ( f . read ( ) , ( 'Affected bugs for CL description:\n' 'Bug: 1234, angleproject:2345\n' ) )
Tests when all bugs can fit on a single line.
Tests when all bugs can fit on a single line .
"""Tests when all bugs can fit on a single line."""
self