From ac65b990946d448867d7a9c78ae52705b1a74313 Mon Sep 17 00:00:00 2001 From: EtiennePelletier Date: Mon, 24 Apr 2023 12:45:10 -0600 Subject: [PATCH] Add missing test dependency for FastAPI --- setup.py | 1 + tests/conftest.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 426da1c..904e039 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,7 @@ "flask >= 2.1.0", "quart >= 0.18.0", "fastapi", + "starlette[full]", "pytest", "pytest_asyncio", ] diff --git a/tests/conftest.py b/tests/conftest.py index 02b0c44..b43e458 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -4,8 +4,8 @@ import flask import pytest import quart -from fastapi.testclient import TestClient from jinja2 import Environment, FileSystemLoader, select_autoescape +from starlette.testclient import TestClient from jinja2_fragments.fastapi import Jinja2Blocks from jinja2_fragments.flask import render_block as flask_render_block