Home
last modified time | relevance | path

Searched refs:base_module (Results 1 – 1 of 1) sorted by relevance

/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dsystem_stub.py22 def __init__(self, base_module, module_list): argument
47 assert base_module not in self._overidden_modules, (
48 '%s is already overridden' % base_module.__name__)
49 self._overidden_modules.add(base_module)
50 self._base_module = base_module
54 self._overrides[module_name] = getattr(base_module, module_name, None)
56 setattr(base_module, module_name, getattr(self, module_name))