Skip to content

Commit e37329e

Browse files
committed
more tests
1 parent 72d6b3e commit e37329e

File tree

4 files changed

+346
-4
lines changed

4 files changed

+346
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
import os
2+
import sys
13
import pytest
24

35
pytest.importorskip("pyreqwest")
6+
7+
# Load `pyreqwest_helpers` into the module search path to test request source path names relative to module. See
8+
# `test_request_source_with_module_in_search_path`
9+
sys.path.insert(0, os.path.join(os.path.dirname(__file__)))

tests/integrations/pyreqwest/pyreqwest_helpers/__init__.py

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def get_request_with_client(client, url):
2+
client.get(url).build().send()

0 commit comments

Comments
 (0)