@@ -25,7 +25,6 @@ def test_run_script_from_pyhttpdbg_entry_point(httpbin, monkeypatch):
2525@pytest .mark .script
2626def 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
4544def 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
7977def 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