Skip to content

Commit 0c12eb5

Browse files
committed
Update comments (Swap "nosetests" with "pynose")
1 parent fbf31d4 commit 0c12eb5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
--------------------------------------------------------------------->
99

1010
The BaseCase class is the main gateway for using The SeleniumBase Framework.
11-
It inherits Python's unittest.TestCase class and runs with pytest or nosetests.
11+
It inherits Python's unittest.TestCase class and runs with pytest or pynose.
1212
All tests using BaseCase automatically launch WebDriver browsers for tests.
1313

1414
Example Test:
@@ -13764,7 +13764,7 @@ def setUp(self, masterqa_mode=False):
1376413764
# This raises an exception if the test is not coming from pytest
1376513765
self.is_pytest = sb_config.is_pytest
1376613766
except Exception:
13767-
# Not using pytest (could be nosetests, behave, or raw Python)
13767+
# Not using pytest (could be pynose, behave, or raw python)
1376813768
self.is_pytest = False
1376913769
if self.is_pytest:
1377013770
# pytest-specific code
@@ -13997,7 +13997,7 @@ def setUp(self, masterqa_mode=False):
1399713997
self.__initialize_variables()
1399813998
self.__activate_virtual_display_as_needed()
1399913999
elif hasattr(self, "is_nosetest") and self.is_nosetest:
14000-
pass # Setup performed in plugins for nosetests
14000+
pass # Setup performed in plugins for pynose
1400114001
else:
1400214002
# Pure Python run. Eg. SB() Manager
1400314003
self.__activate_virtual_display_as_needed()
@@ -14181,7 +14181,7 @@ def setUp(self, masterqa_mode=False):
1418114181
if self.recorder_ext:
1418214182
self.__js_start_time = int(time.time() * 1000.0)
1418314183
else:
14184-
# Launch WebDriver for both Pytest and Nosetests
14184+
# Launch WebDriver for both pytest and pynose
1418514185
self.driver = self.get_new_driver(
1418614186
browser=self.browser,
1418714187
headless=self.headless,
@@ -15487,7 +15487,7 @@ def tearDown(self):
1548715487
data_payload.logURL = index_file
1548815488
self.testcase_manager.update_testcase_log_url(data_payload)
1548915489
else:
15490-
# (Nosetests / Behave / Pure Python)
15490+
# (Pynose / Behave / Pure Python)
1549115491
if hasattr(self, "is_behave") and self.is_behave:
1549215492
import colorama
1549315493

@@ -15562,9 +15562,9 @@ def tearDown(self):
1556215562
and sb_config._do_sb_post_mortem
1556315563
):
1556415564
self.__activate_sb_mgr_post_mortem_debug_mode()
15565-
# (Nosetests / Behave / Pure Python) Close all open browser windows
15565+
# (Pynose / Behave / Pure Python) Close all open browser windows
1556615566
self.__quit_all_drivers()
15567-
# Resume tearDown() for all test runners, (Pytest / Nosetests / Behave)
15567+
# Resume tearDown() for all test runners, (Pytest / Pynose / Behave)
1556815568
if hasattr(self, "_xvfb_display") and self._xvfb_display:
1556915569
try:
1557015570
if hasattr(self._xvfb_display, "stop"):

0 commit comments

Comments
 (0)