# Copyright (c) 2010 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.

from autotest_lib.client.cros import chrome_test

class desktopui_SyncIntegrationTests(chrome_test.ChromeTestBase):
    version = 1

    def run_once(self):
        password_file = '%s/sync_password.txt' % self.bindir

        self.run_chrome_test('sync_integration_tests',
            ('--password-file-for-test=%s ' +
             '--test-terminate-timeout=300000') % password_file)

@@ -12,17 +12,17 @@
  (c) 201
-0
+1
  The Chr
@@ -301,119 +301,24 @@
     
-def run_once(self):%0A        password_file = '%25s/sync_password.txt' %25 self.bindir%0A%0A        self.run_chrome_test(
+binary_to_run = 
 'syn
@@ -341,68 +341,30 @@
 sts'
-,
 %0A    
-        ('--password-file-for-test=%25s ' +%0A            
+cmd_line_params =
  '--
@@ -390,30 +390,108 @@
 out=
-30
+12
 0000'
-) %25 password_file
+%0A%0A    def run_once(self):%0A        self.run_chrome_test(self.binary_to_run, self.cmd_line_params
 )%0A

Make the sync integration tests self-contained on autotest