| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright 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 cgi | 6 import cgi |
| 7 import os | 7 import os |
| 8 | 8 |
| 9 import pyauto_functional # Must be imported before pyauto | 9 import pyauto_functional # Must be imported before pyauto |
| 10 import pyauto | 10 import pyauto |
| 11 | 11 |
| 12 class InstantSettingsTest(pyauto.PyUITest): | 12 class InstantSettingsTest(pyauto.PyUITest): |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 """Test that Instant does not download zip file.""" | 202 """Test that Instant does not download zip file.""" |
| 203 self._AssertInstantDoesNotDownloadFile(os.path.join('zip', 'test.zip')) | 203 self._AssertInstantDoesNotDownloadFile(os.path.join('zip', 'test.zip')) |
| 204 | 204 |
| 205 def testInstantDoesNotDownloadPDFFile(self): | 205 def testInstantDoesNotDownloadPDFFile(self): |
| 206 """Test that Instant does not download PDF file.""" | 206 """Test that Instant does not download PDF file.""" |
| 207 self._AssertInstantDoesNotDownloadFile(os.path.join('printing', | 207 self._AssertInstantDoesNotDownloadFile(os.path.join('printing', |
| 208 'cloud_print_unittest.pdf')) | 208 'cloud_print_unittest.pdf')) |
| 209 | 209 |
| 210 if __name__ == '__main__': | 210 if __name__ == '__main__': |
| 211 pyauto_functional.Main() | 211 pyauto_functional.Main() |
| OLD | NEW |