diff options
Diffstat (limited to 'tests/lib/mock_instrumentation_test.py')
-rw-r--r-- | tests/lib/mock_instrumentation_test.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lib/mock_instrumentation_test.py b/tests/lib/mock_instrumentation_test.py index be3d90e..ee1ee6a 100644 --- a/tests/lib/mock_instrumentation_test.py +++ b/tests/lib/mock_instrumentation_test.py @@ -24,7 +24,8 @@ MOCK_TEST_PACKAGE = 'com.my.package.test' class MockInstrumentationTest( - base_instrumentation_test.BaseInstrumentationTestClass): + base_instrumentation_test.BaseInstrumentationTestClass +): def __init__(self, tmp_dir, user_params={}): mock_test_run_configs = config_parser.TestRunConfig() @@ -35,7 +36,6 @@ class MockInstrumentationTest( super().__init__(mock_test_run_configs) def run_mock_instrumentation_test(self, instrumentation_output, prefix): - def fake_instrument(package, options=None, runner=None, handler=None): for line in instrumentation_output.splitlines(): handler(line) @@ -44,6 +44,6 @@ class MockInstrumentationTest( mock_device = mock.Mock(spec=android_device.AndroidDevice) mock_device.adb = mock.Mock(spec=adb.AdbProxy) mock_device.adb.instrument = fake_instrument - return self.run_instrumentation_test(mock_device, - MOCK_TEST_PACKAGE, - prefix=prefix) + return self.run_instrumentation_test( + mock_device, MOCK_TEST_PACKAGE, prefix=prefix + ) |