13 lines
318 B
Python
13 lines
318 B
Python
import fastapi
|
|
from fastapi.testclient import TestClient
|
|
from fastapi import FastAPI, APIRouter
|
|
|
|
|
|
class ApiTest:
|
|
def __init__(self, app: FastAPI):
|
|
self.app = app
|
|
self.client = TestClient(app)
|
|
|
|
def test(self, api: APIRouter, params: {} = None, headers: {} = None, data: {} = None):
|
|
pass
|