Index: third_party/WebKit/Tools/Scripts/webkitpy/common/system/system_host_mock.py |
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/system_host_mock.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/system_host_mock.py |
index fcdd1e8aa3b7476b75c561047fff4c2c8ada3bfd..0696eaf9becf6d650aefcaaeda83ce10597fdf7b 100644 |
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/system_host_mock.py |
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/system_host_mock.py |
@@ -69,6 +69,9 @@ class MockSystemHost(object): |
def time(self): |
return self.time_return_val |
+ def sleep(self, seconds): |
+ self.time_return_val += seconds |
+ |
def print_(self, *args, **kwargs): |
sep = kwargs.get('sep', ' ') |
end = kwargs.get('end', '\n') |