Chromium Code Reviews| Index: chrome/test/functional/chromeos_power.py |
| diff --git a/chrome/test/functional/chromeos_power.py b/chrome/test/functional/chromeos_power.py |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..353d62fcd4fda33b20ee33c60c5da775a4ded2cd |
| --- /dev/null |
| +++ b/chrome/test/functional/chromeos_power.py |
| @@ -0,0 +1,23 @@ |
| +#!/usr/bin/python |
| +# Copyright (c) 2011 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 logging |
| + |
| +import pyauto_functional |
| +import pyauto |
| + |
| + |
| +class ChromeosBasic(pyauto.PyUITest): |
|
dennis_jeffrey
2011/03/29 15:21:31
Maybe change name of class to "ChromeosPower"?
|
| + """Tests for ChromeOS power library and daemon.""" |
| + |
| + def testBatteryInfo(self): |
| + """Print some information about the battery.""" |
| + result = self.GetBatteryInfo() |
| + self.assertTrue(result) |
| + logging.debug(result) |
| + |
| + |
| +if __name__ == '__main__': |
| + pyauto_functional.Main() |