summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-05 15:33:16 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-05 15:33:16 -0800
commit6a7bc99dce9f19fb5a9a6d14f453fdb1b7f93fc6 (patch)
tree52e336e601f8119d37c4f458b5672d2ef47c3690
parentdd551b91113389a652e06e6835f13975c3c066fc (diff)
downloadfatcat-scholar-6a7bc99dce9f19fb5a9a6d14f453fdb1b7f93fc6.tar.gz
fatcat-scholar-6a7bc99dce9f19fb5a9a6d14f453fdb1b7f93fc6.zip
add regression test for uvloop+httptools uvicorn problem
-rw-r--r--tests/test_deps.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test_deps.py b/tests/test_deps.py
new file mode 100644
index 0000000..10d313e
--- /dev/null
+++ b/tests/test_deps.py
@@ -0,0 +1,11 @@
+def test_gunicorn_regression() -> None:
+ """
+ Had a problem where these two libraries were not included and running
+ uvicorn under gunicorn failed.
+ """
+ import uvloop
+
+ uvloop.__version__
+ import httptools
+
+ httptools.__version__