File tree Expand file tree Collapse file tree
samples/openapi3/client/petstore/python-pydantic-v1/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010$ pytest
1111"""
1212
13- from collections import namedtuple
14- from datetime import datetime , timedelta
13+ from datetime import timedelta
1514import base64
16- import json
1715import os
1816import re
19- import shutil
2017import unittest
21- from urllib .parse import urlencode , urlparse
18+ from urllib .parse import urlparse
2219
2320from Crypto .Hash import SHA256 , SHA512
2421from Crypto .PublicKey import ECC , RSA
2825#from petstore_api.models import Category, Tag, Pet
2926from petstore_api .api .pet_api import PetApi
3027from petstore_api import Configuration , signing
31- from petstore_api .rest import (
32- RESTClientObject ,
33- RESTResponse
34- )
35-
36- from petstore_api .exceptions import (
37- ApiException ,
38- ApiValueError ,
39- ApiTypeError ,
40- )
4128
4229from .util import id_gen
4330
4431import urllib3
4532
46- from unittest .mock import patch
4733
4834HOST = 'http://localhost/v2'
4935
You can’t perform that action at this time.
0 commit comments