Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit ebeff20

Browse files
committed
Black
Docs: Correct typo.
1 parent 8f43498 commit ebeff20

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

runestone/codelens/test/test_codelens.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44
def test_Next_Step(selenium_utils_get):
55
driver = selenium_utils_get.driver
66
assert "CodeLens" in driver.title
7-
for tdiv in ["test_codelens_1", "test_codelens_2", "test_codelens_3", "test_codelens_4", "test_codelens_5", "test_codelens_6"]:
7+
for tdiv in [
8+
"test_codelens_1",
9+
"test_codelens_2",
10+
"test_codelens_3",
11+
"test_codelens_4",
12+
"test_codelens_5",
13+
"test_codelens_6",
14+
]:
815
selenium_utils_get.wait_until_ready(tdiv)
916
clDiv = driver.find_element_by_id(tdiv)
1017
assert clDiv

runestone/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def run_webpack():
6868
# Provide access to the Selenium module fixture, for tests with specific needs.
6969
@pytest.fixture(scope="module")
7070
def selenium_module_fixture(request):
71-
# Allow modules to specify the ``exit_status_success`` parameter passed to the ``ModuleFixture``` constructor by adding the statement ``pytestmark = pytest.mark.exit_status_success(False)``. (Since this is a module-scoped fixture, applying this mark to an individual test has no effect. Marking it True instead is equivalent to the unmarked, default value.) See the `example <https://docs.pytest.org/en/stable/fixture.html#using-markers-to-pass-data-to-fixtures>`_ (which applies only to function-scoped marks, not module-scoped marks), `marking whole classes or modules <https://docs.pytest.org/en/6.2.x/example/markers.html#marking-whole-classes-or-modules>`_, and the `API docs <https://docs.pytest.org/en/stable/reference.html#pytest.nodes.Node.get_closest_marker>`_.
71+
# Allow modules to specify the ``exit_status_success`` parameter passed to the ``ModuleFixture`` constructor by adding the statement ``pytestmark = pytest.mark.exit_status_success(False)``. (Since this is a module-scoped fixture, applying this mark to an individual test has no effect. Marking it True instead is equivalent to the unmarked, default value.) See the `example <https://docs.pytest.org/en/stable/fixture.html#using-markers-to-pass-data-to-fixtures>`_ (which applies only to function-scoped marks, not module-scoped marks), `marking whole classes or modules <https://docs.pytest.org/en/6.2.x/example/markers.html#marking-whole-classes-or-modules>`_, and the `API docs <https://docs.pytest.org/en/stable/reference.html#pytest.nodes.Node.get_closest_marker>`_.
7272
exit_status_success_mark = request.node.get_closest_marker("exit_status_success")
7373
exit_status_success = True if exit_status_success_mark is None else exit_status_success_mark.args[0]
7474

0 commit comments

Comments
 (0)