tools/code_coverage/coverage_test.py
def verify_component_view(self, filepath):
    """Asserts that a given component view looks correct."""
    # There must be several Blink and Internals components.
    with open(filepath) as f:
      data = f.read()

    counts = data.count('Blink') + data.count('Internals')
    self.assertGreater(counts, 5)
Asserts that a given component view looks correct.
Asserts that a given component view looks correct.
Asserts that a given component view looks correct .
def verify_component_view(self, filepath):
    with open(filepath) as f:
      data = f.read()
    counts = data.count('Blink') + data.count('Internals')
    self.assertGreater(counts, 5)
def verify_component_view ( self , filepath ) : with open ( filepath ) as f : data = f . read ( ) counts = data . count ( 'Blink' ) + data . count ( 'Internals' ) self . assertGreater ( counts , 5 )
Asserts that a given component view looks correct.
Asserts that a given component view looks correct .
"""Asserts that a given component view looks correct.""" # There must be several Blink and Internals components.
self
filepath