Bug 803850: sync MarionetteJSTestCase.add_tests_to_suite arguements with others, r=automatedtester
authorVicamo Yang <vyang@mozilla.com>
Tue, 23 Oct 2012 00:08:44 +0800
changeset 111169 9c8640b0a486ed525ef03f57254ced007a08356c
parent 111168 0234f58b61034235e504b192ce9332adf3271f2c
child 111170 6eda62c9a13d30dc2bd2cef61f396aed6a02ee95
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersautomatedtester
bugs803850
milestone19.0a1
Bug 803850: sync MarionetteJSTestCase.add_tests_to_suite arguements with others, r=automatedtester
testing/marionette/client/marionette/marionette_test.py
--- a/testing/marionette/client/marionette/marionette_test.py
+++ b/testing/marionette/client/marionette/marionette_test.py
@@ -148,17 +148,17 @@ class MarionetteJSTestCase(CommonTestCas
     def __init__(self, marionette_weakref, methodName='runTest', jsFile=None):
         assert(jsFile)
         self.jsFile = jsFile
         self._marionette_weakref = marionette_weakref
         self.marionette = None
         CommonTestCase.__init__(self, methodName)
 
     @classmethod
-    def add_tests_to_suite(cls, mod_name, filepath, suite, testloader, marionette):
+    def add_tests_to_suite(cls, mod_name, filepath, suite, testloader, marionette, testvars):
         suite.addTest(cls(weakref.ref(marionette), jsFile=filepath))
 
     def runTest(self):
         if self.marionette.session is None:
             self.marionette.start_session()
         self.marionette.execute_script("log('TEST-START: %s');" % self.jsFile.replace('\\', '\\\\'))
 
         f = open(self.jsFile, 'r')