Skip to content

Commit 34c300e

Browse files
Fix pylint 'missing-function-docstrings' in fixtures_browsers.py
1 parent b8ef636 commit 34c300e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fixtures_browsers.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,28 @@
99

1010
@pytest.fixture(scope='function')
1111
def browser_func(choose_driver):
12+
"""Browser that closes after each test function or method."""
1213
yield choose_driver
1314
choose_driver.quit()
1415

1516

1617
@pytest.fixture(scope='class')
1718
def browser_class(choose_driver):
19+
"""Browser that closes after each test class."""
1820
yield choose_driver
1921
choose_driver.quit()
2022

2123

2224
@pytest.fixture(scope='module')
2325
def browser_module(choose_driver):
26+
"""Browser that closes after each test module."""
2427
yield choose_driver
2528
choose_driver.quit()
2629

2730

2831
@pytest.fixture(scope='session')
2932
def choose_driver(is_remote, t_browser):
33+
"""Remote or local browser selector fixture."""
3034
if is_remote:
3135
return remote_driver(t_browser)
3236
return custom_driver(t_browser)

0 commit comments

Comments
 (0)