OLD | NEW |
(Empty) | |
| 1 #!/usr/bin/python |
| 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. |
| 5 |
| 6 import logging |
| 7 |
| 8 import pyauto_functional |
| 9 import pyauto |
| 10 |
| 11 |
| 12 class ChromeosPower(pyauto.PyUITest): |
| 13 """Tests for ChromeOS power library and daemon.""" |
| 14 |
| 15 def testBatteryInfo(self): |
| 16 """Print some information about the battery.""" |
| 17 result = self.GetBatteryInfo() |
| 18 self.assertTrue(result) |
| 19 logging.debug(result) |
| 20 |
| 21 |
| 22 if __name__ == '__main__': |
| 23 pyauto_functional.Main() |
OLD | NEW |