Chromium Code Reviews| Index: telemetry/examples/browser_tests/sample_unittest.py |
| diff --git a/telemetry/examples/browser_tests/sample_unittest.py b/telemetry/examples/browser_tests/sample_unittest.py |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..fcae2580449aded38af4714363825e45fe88141f |
| --- /dev/null |
| +++ b/telemetry/examples/browser_tests/sample_unittest.py |
| @@ -0,0 +1,12 @@ |
| +# Copyright 2016 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 |
| + |
| +class SampleUnittest(unittest.TestCase): |
| + def testPassing(self): |
| + self.assertTrue(1 + 1) |
| + |
| + def testFailing(self): |
| + self.assertFalse(True or False) |