This is a sample API testing model with pytest.
.
├── README.md
├── api
│ ├── base_api.py
│ ├── env
│ │ ├── __init__.py
│ │ └── config.py
│ └── i_sport
│ ├── __init__.py
│ ├── constant.py
│ └── i_sport_api.py
├── pytest.ini
├── requirements.txt
├── test_data
│ └── i_sport
│ └── data_i_sport.json
├── tests
│ ├── __init__.py
│ └── test_i_sport
│ ├── __init__.py
│ └── test_i_sport.py
└── utils
└── time.py