skip async tests if asgiref isn't installed

This commit is contained in:
David Lord 2021-04-06 15:31:16 -07:00
parent d65f574bff
commit bb02c14740

View file

@ -8,6 +8,8 @@ from flask import Flask
from flask import request
from flask.helpers import run_async
pytest.importorskip("asgiref")
class AppError(Exception):
pass