OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 import os | 6 import os |
7 | 7 |
8 import pyauto_functional # Must come before chromoting and pyauto. | 8 import pyauto_functional # Must come before chromoting and pyauto. |
9 import chromoting | 9 import chromoting |
10 import pyauto | 10 import pyauto |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 self.assertTrue(client.Connect(access_code, True, client_tab_index), | 55 self.assertTrue(client.Connect(access_code, True, client_tab_index), |
56 msg='The client attempted to connect to the host, ' | 56 msg='The client attempted to connect to the host, ' |
57 'but the chromoting session did not start.') | 57 'but the chromoting session did not start.') |
58 | 58 |
59 host.CancelShare() | 59 host.CancelShare() |
60 client.Disconnect(client_tab_index) | 60 client.Disconnect(client_tab_index) |
61 | 61 |
62 | 62 |
63 if __name__ == '__main__': | 63 if __name__ == '__main__': |
64 pyauto_functional.Main() | 64 pyauto_functional.Main() |
OLD | NEW |