We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b222d4 commit c7d9a22Copy full SHA for c7d9a22
1 file changed
examples/test_examples.py
@@ -1,8 +1,6 @@
1
import importlib.util
2
-import os
3
import sys
4
from pathlib import Path
5
-from typing import Any
6
7
import pytest
8
import responses
@@ -68,8 +66,8 @@ def test_run_example(example_file: str) -> None:
68
66
},
69
67
status=200
70
)
71
-
72
- # Mock document upload endpoint
+
+ # Mock document upload endpoint
73
responses.add(
74
responses.POST,
75
"https://api.stackone.com/unified/hris/employees/c28xIQaWQ6MzM5MzczMDA2NzMzMzkwNzIwNA/documents/upload",
@@ -78,7 +76,7 @@ def test_run_example(example_file: str) -> None:
78
76
79
77
80
example_path = Path(__file__).parent / example_file
81
82
# Import and run the example module directly
83
spec = importlib.util.spec_from_file_location("example", example_path)
84
if spec and spec.loader:
0 commit comments