Skip to content

Commit b9b7681

Browse files
committed
Update test_htsget_server.py
1 parent 4862d7c commit b9b7681

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_htsget_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ def get_object(request):
3636

3737
@pytest.fixture
3838
def htsget_ingest(requests_mock):
39-
requests_mock.post(f"{DRS_URL}/ga4gh/drs/v1/objects", json=callback, status_code=200)
39+
requests_mock.post(f"{DRS_URL}/ga4gh/drs/v1/objects", json=callback, status_code=200, real_http=True)
4040
matcher = re.compile(f"/ga4gh/drs/v1/objects/.+")
41-
requests_mock.register_uri("GET", matcher, additional_matcher=get_object, status_code=200)
41+
requests_mock.register_uri("GET", matcher, additional_matcher=get_object, status_code=200, real_http=True)
4242

4343

4444
def get_headers():

0 commit comments

Comments
 (0)