Skip to content

Commit 968f0d2

Browse files
committed
Fix the "sb_config" issue with "pynose" / "nosetests"
1 parent f68da8d commit 968f0d2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

seleniumbase/plugins/base_plugin.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,14 +240,22 @@ def beforeTest(self, test):
240240
test.test.test_id = test.id()
241241
test.test.is_nosetest = True
242242
test.test.environment = self.options.environment
243+
sb_config.environment = self.options.environment
243244
test.test.env = self.options.environment # Add a shortened version
244245
test.test.account = self.options.account
246+
sb_config.account = self.options.account
245247
test.test.data = self.options.data
248+
sb_config.data = self.options.data
246249
test.test.var1 = self.options.var1
250+
sb_config.var1 = self.options.var1
247251
test.test.var2 = self.options.var2
252+
sb_config.var2 = self.options.var2
248253
test.test.var3 = self.options.var3
254+
sb_config.var3 = self.options.var3
249255
test.test.variables = variables # Already verified is a dictionary
256+
sb_config.variables = variables
250257
test.test.settings_file = self.options.settings_file
258+
sb_config.settings_file = self.options.settings_file
251259
test.test._final_debug = self.options.final_debug
252260
test.test.log_path = self.options.log_path
253261
if self.options.archive_downloads:

0 commit comments

Comments
 (0)