Commits

Anonymous committed 9fc0921

call create_virtualenv properly

Comments (0)

Files changed (2)

scripts/b2g_emulator_unittest.py

             self.busybox_path = os.path.join(dirs['abs_work_dir'], 'busybox')
 
     def create_virtualenv(self):
-        super(B2GEmulatorTest, self).__init__(modules=self.virtualenv_modules,
-                                              requirements=self.virtualenv_requirements)
+        super(B2GEmulatorTest, self).create_virtualenv(modules=self.virtualenv_modules,
+                                                requirements=self.virtualenv_requirements)
 
     def _query_abs_base_cmd(self, suite):
         dirs = self.query_abs_dirs()

scripts/marionette.py

 
     repos = []
 
-    virtualenv_requirements = None
     virtualenv_modules = None
 
     gaia_ui_tests_repo = {'repo': 'http://hg.mozilla.org/integration/gaia-ui-tests/',
         return self.abs_dirs
 
     def create_virtualenv(self, **kwargs):
-        super(MarionetteTest, self).create_virtualenv(**kwargs)
+        super(MarionetteTest, self).create_virtualenv(modules=self.virtualenv_modules, **kwargs)
 
         if self.config.get('gaiatest'):
             dirs = self.query_abs_dirs()