Skip to content

Commit d7d9feb

Browse files
committed
revert
1 parent 97467f3 commit d7d9feb

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

tests/test_mode_console.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ def test_run_console_from_pyhttpdbg_entry_point_default(
3535

3636
def test_run_console(httpbin, httpdbg_host, httpdbg_port):
3737
with httpdbg_srv(httpdbg_host, httpdbg_port) as records:
38-
records.server = False
3938
with httprecord(records):
4039
new_console = run_console(records, test_mode=True)
4140
new_console.push("import requests")

tests/test_mode_script.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ def test_run_script_from_pyhttpdbg_entry_point(httpbin, monkeypatch):
2525
@pytest.mark.script
2626
def test_run_script(httpbin, httpdbg_host, httpdbg_port):
2727
with httpdbg_srv(httpdbg_host, httpdbg_port) as records:
28-
records.server = False
2928
with httprecord(records):
3029
script_to_run = os.path.join(
3130
os.path.dirname(os.path.realpath(__file__)), "demo_run_script.py"
@@ -44,7 +43,6 @@ def test_run_script(httpbin, httpdbg_host, httpdbg_port):
4443
@pytest.mark.script
4544
def test_run_script_with_exception(httpbin, httpdbg_host, httpdbg_port, capsys):
4645
with httpdbg_srv(httpdbg_host, httpdbg_port) as records:
47-
records.server = False
4846
with httprecord(records):
4947
script_to_run = os.path.join(
5048
os.path.dirname(os.path.realpath(__file__)), "demo_run_script.py"
@@ -78,7 +76,6 @@ def test_run_script_not_a_python_script(httpbin, capsys):
7876
@pytest.mark.initiator
7977
def test_run_script_initiator(httpbin, httpdbg_host, httpdbg_port):
8078
with httpdbg_srv(httpdbg_host, httpdbg_port) as records:
81-
records.server = False
8279
with httprecord(records):
8380
script_to_run = os.path.join(
8481
os.path.dirname(os.path.realpath(__file__)), "demo_run_script.py"

0 commit comments

Comments
 (0)