|
8 | 8 | --------------------------------------------------------------------->
|
9 | 9 |
|
10 | 10 | 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. |
12 | 12 | All tests using BaseCase automatically launch WebDriver browsers for tests.
|
13 | 13 |
|
14 | 14 | Example Test:
|
@@ -13764,7 +13764,7 @@ def setUp(self, masterqa_mode=False):
|
13764 | 13764 | # This raises an exception if the test is not coming from pytest
|
13765 | 13765 | self.is_pytest = sb_config.is_pytest
|
13766 | 13766 | except Exception:
|
13767 |
| - # Not using pytest (could be nosetests, behave, or raw Python) |
| 13767 | + # Not using pytest (could be pynose, behave, or raw python) |
13768 | 13768 | self.is_pytest = False
|
13769 | 13769 | if self.is_pytest:
|
13770 | 13770 | # pytest-specific code
|
@@ -13997,7 +13997,7 @@ def setUp(self, masterqa_mode=False):
|
13997 | 13997 | self.__initialize_variables()
|
13998 | 13998 | self.__activate_virtual_display_as_needed()
|
13999 | 13999 | 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 |
14001 | 14001 | else:
|
14002 | 14002 | # Pure Python run. Eg. SB() Manager
|
14003 | 14003 | self.__activate_virtual_display_as_needed()
|
@@ -14181,7 +14181,7 @@ def setUp(self, masterqa_mode=False):
|
14181 | 14181 | if self.recorder_ext:
|
14182 | 14182 | self.__js_start_time = int(time.time() * 1000.0)
|
14183 | 14183 | else:
|
14184 |
| - # Launch WebDriver for both Pytest and Nosetests |
| 14184 | + # Launch WebDriver for both pytest and pynose |
14185 | 14185 | self.driver = self.get_new_driver(
|
14186 | 14186 | browser=self.browser,
|
14187 | 14187 | headless=self.headless,
|
@@ -15487,7 +15487,7 @@ def tearDown(self):
|
15487 | 15487 | data_payload.logURL = index_file
|
15488 | 15488 | self.testcase_manager.update_testcase_log_url(data_payload)
|
15489 | 15489 | else:
|
15490 |
| - # (Nosetests / Behave / Pure Python) |
| 15490 | + # (Pynose / Behave / Pure Python) |
15491 | 15491 | if hasattr(self, "is_behave") and self.is_behave:
|
15492 | 15492 | import colorama
|
15493 | 15493 |
|
@@ -15562,9 +15562,9 @@ def tearDown(self):
|
15562 | 15562 | and sb_config._do_sb_post_mortem
|
15563 | 15563 | ):
|
15564 | 15564 | 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 |
15566 | 15566 | self.__quit_all_drivers()
|
15567 |
| - # Resume tearDown() for all test runners, (Pytest / Nosetests / Behave) |
| 15567 | + # Resume tearDown() for all test runners, (Pytest / Pynose / Behave) |
15568 | 15568 | if hasattr(self, "_xvfb_display") and self._xvfb_display:
|
15569 | 15569 | try:
|
15570 | 15570 | if hasattr(self._xvfb_display, "stop"):
|
|
0 commit comments