Skip to content

Commit 908459d

Browse files
committed
tests(conftest): Add request to doctest
I still have to run locals().keys() to scope request into the doctest context, no idea why.
1 parent 882c837 commit 908459d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libtmux/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def add_doctest_fixtures(
2626
doctest_namespace["window"] = session.attached_window
2727
doctest_namespace["pane"] = session.attached_pane
2828
doctest_namespace["pytester"] = pytester
29+
doctest_namespace["request"] = request
2930

3031

3132
@pytest.fixture(autouse=True, scope="function")

0 commit comments

Comments
 (0)