| Index: tools/telemetry/telemetry/core/util_unittest.py
|
| ===================================================================
|
| --- tools/telemetry/telemetry/core/util_unittest.py (revision 182999)
|
| +++ tools/telemetry/telemetry/core/util_unittest.py (working copy)
|
| @@ -1,18 +0,0 @@
|
| -# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -# Use of this source code is governed by a BSD-style license that can be
|
| -# found in the LICENSE file.
|
| -import unittest
|
| -
|
| -from telemetry.core import util
|
| -
|
| -class TestWait(unittest.TestCase):
|
| - @staticmethod
|
| - def testNonTimeout():
|
| - def test():
|
| - return True
|
| - util.WaitFor(test, 0.1)
|
| -
|
| - def testTimeout(self):
|
| - def test():
|
| - return False
|
| - self.assertRaises(util.TimeoutException, lambda: util.WaitFor(test, 0.1))
|
|
|