| 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 pyauto_functional |
| 7 import pyauto |
| 8 |
| 9 |
| 10 class ChromeosBasic(pyauto.PyUITest): |
| 11 """Basic tests for ChromeOS. |
| 12 |
| 13 Requires ChromeOS to be logged in. |
| 14 """ |
| 15 |
| 16 def testAppendTabs(self): |
| 17 """Basic test for primary chrome on ChromeOS (named testing interface).""" |
| 18 self.AppendTab(pyauto.GURL('about:version')) |
| 19 self.assertEqual(self.GetTabCount(), 2, msg='Expected 2 tabs') |
| 20 |
| 21 |
| 22 if __name__ == '__main__': |
| 23 pyauto_functional.Main() |
| OLD | NEW |