test: Add uwsgi tests

This commit is contained in:
Alex Chalk 2021-10-04 10:33:45 -04:00 committed by adisbladis
parent 5f4d6b9478
commit d81656e5d0
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7
4 changed files with 38 additions and 0 deletions

6
tests/uwsgi/default.nix Normal file
View file

@ -0,0 +1,6 @@
{ lib, poetry2nix, runCommand }:
poetry2nix.mkPoetryApplication {
pyproject = ./pyproject.toml;
poetrylock = ./poetry.lock;
src = lib.cleanSource ./.;
}

17
tests/uwsgi/poetry.lock generated Normal file
View file

@ -0,0 +1,17 @@
[[package]]
name = "uwsgi"
version = "2.0.19.1"
description = "The uWSGI server"
category = "main"
optional = false
python-versions = "*"
[metadata]
lock-version = "1.1"
python-versions = "^3.8"
content-hash = "ec1973a5762a2a84e937c4d4712774561a9ddbbe91905a20053e4890176f1a33"
[metadata.files]
uwsgi = [
{file = "uWSGI-2.0.19.1.tar.gz", hash = "sha256:faa85e053c0b1be4d5585b0858d3a511d2cd10201802e8676060fd0a109e5869"},
]

View file

@ -0,0 +1,15 @@
[tool.poetry]
name = "test_uwsgi"
version = "0.1.0"
description = ""
authors = []
[tool.poetry.dependencies]
python = "^3.8"
uwsgi = "^2.0.19"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

View file