OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import devil_chromium | 5 import devil_chromium |
6 from pylib import constants | 6 from pylib import constants |
7 from pylib.base import environment | 7 from pylib.base import environment |
8 | 8 |
9 | 9 |
10 class LocalMachineEnvironment(environment.Environment): | 10 class LocalMachineEnvironment(environment.Environment): |
11 | 11 |
12 def __init__(self, _args, _error_func): | 12 def __init__(self, _args, output_manager, _error_func): |
13 super(LocalMachineEnvironment, self).__init__() | 13 super(LocalMachineEnvironment, self).__init__(output_manager) |
14 | 14 |
15 devil_chromium.Initialize( | 15 devil_chromium.Initialize( |
16 output_directory=constants.GetOutDirectory()) | 16 output_directory=constants.GetOutDirectory()) |
17 | 17 |
18 #override | 18 #override |
19 def SetUp(self): | 19 def SetUp(self): |
20 pass | 20 pass |
21 | 21 |
22 #override | 22 #override |
23 def TearDown(self): | 23 def TearDown(self): |
24 pass | 24 pass |
OLD | NEW |