File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 11import importlib .util
2- import os
32import sys
43from pathlib import Path
5- from typing import Any
64
75import pytest
86import responses
@@ -68,8 +66,8 @@ def test_run_example(example_file: str) -> None:
6866 },
6967 status = 200
7068 )
71-
72- # Mock document upload endpoint
69+
70+ # Mock document upload endpoint
7371 responses .add (
7472 responses .POST ,
7573 "https://api.stackone.com/unified/hris/employees/c28xIQaWQ6MzM5MzczMDA2NzMzMzkwNzIwNA/documents/upload" ,
@@ -78,7 +76,7 @@ def test_run_example(example_file: str) -> None:
7876 )
7977
8078 example_path = Path (__file__ ).parent / example_file
81-
79+
8280 # Import and run the example module directly
8381 spec = importlib .util .spec_from_file_location ("example" , example_path )
8482 if spec and spec .loader :
You can’t perform that action at this time.
0 commit comments