# Path: lighthouse/scripts/reporter.py
# def run():


    import unittest2 as unittest
    import unittest
from mock import patch
from lighthouse.scripts import reporter
try:
except ImportError:




@patch("lighthouse.scripts.reporter.reporter.Reporter")
@patch("lighthouse.scripts.reporter.parser")
class ReporterScriptTests(unittest.TestCase):

    def test_run_handles_keyboardinterrupt(self, parser, Reporter):
        Reporter.return_value.start.side_effect = KeyboardInterrupt


# Path: lighthouse/scripts/reporter.py
# def run():


# Path: tests/scripts/reporter_tests.py
    import unittest2 as unittest
    import unittest
from mock import patch
from lighthouse.scripts import reporter

try:
except ImportError:




@patch("lighthouse.scripts.reporter.reporter.Reporter")
@patch("lighthouse.scripts.reporter.parser")
class ReporterScriptTests(unittest.TestCase):

    def test_run_handles_keyboardinterrupt(self, parser, Reporter):
        Reporter.return_value.start.side_effect = KeyboardInterrupt


        reporter.run()