Index: tools/telemetry/telemetry/core/tab_unittest.py |
diff --git a/tools/telemetry/telemetry/core/tab_unittest.py b/tools/telemetry/telemetry/core/tab_unittest.py |
index 53db4339302bfd008a9da5cc878a688b05014c53..7a575b7b3c9e336a0aa03923b97b3e118989dee2 100644 |
--- a/tools/telemetry/telemetry/core/tab_unittest.py |
+++ b/tools/telemetry/telemetry/core/tab_unittest.py |
@@ -3,6 +3,7 @@ |
# found in the LICENSE file. |
import logging |
+import tempfile |
from telemetry import benchmark |
from telemetry.core import bitmap |
@@ -28,7 +29,7 @@ class FakePlatform(object): |
def StopVideoCapture(self): |
self._is_video_capture_running = False |
- return video.Video(None) |
+ return video.Video(tempfile.NamedTemporaryFile()) |
def SetFullPerformanceModeEnabled(self, enabled): |
pass |