Fix linting issues in API tests

This commit is contained in:
bymyself 2025-05-20 12:26:56 -07:00
parent fa9688b1fb
commit e8a92e4c9b
7 changed files with 288 additions and 292 deletions

View File

@ -5,7 +5,7 @@ import pytest
import logging import logging
import sys import sys
import os import os
from typing import Dict, Any, List, Set from typing import Dict, Any, Set
# Use a direct import with the full path # Use a direct import with the full path
current_dir = os.path.dirname(os.path.abspath(__file__)) current_dir = os.path.dirname(os.path.abspath(__file__))

View File

@ -7,7 +7,7 @@ import logging
import sys import sys
import os import os
import json import json
from typing import Dict, Any, List from typing import Dict, Any
# Use a direct import with the full path # Use a direct import with the full path
current_dir = os.path.dirname(os.path.abspath(__file__)) current_dir = os.path.dirname(os.path.abspath(__file__))

View File

@ -1,8 +1,6 @@
""" """
Utilities for working with OpenAPI schemas Utilities for working with OpenAPI schemas
""" """
import json
import os
from typing import Any, Dict, List, Optional, Set, Tuple from typing import Any, Dict, List, Optional, Set, Tuple

View File

@ -1,8 +1,6 @@
""" """
Utilities for API response validation against OpenAPI spec Utilities for API response validation against OpenAPI spec
""" """
import json
import os
import yaml import yaml
import jsonschema import jsonschema
from typing import Any, Dict, List, Optional, Union from typing import Any, Dict, List, Optional, Union