From b3e3de15a2feb4b0ee4af353cd01798cf214da89 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 16 Feb 2024 11:11:13 -0500 Subject: [PATCH] Add hypothesis testing dependency --- pdm.lock | 50 +++++++++++++++++++++++++++++++++++++++++++++++++- pyproject.toml | 2 ++ 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/pdm.lock b/pdm.lock index e6bce50..77b12b2 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "debug", "lint", "server", "typing", "dev"] strategy = ["cross_platform"] lock_version = "4.4.1" -content_hash = "sha256:88502778249494bd3f6fd407d51671f4e465065ec58427b60993d91d0808bdfd" +content_hash = "sha256:379d72c4be2ef3f09d6a3f9cf0517f784fa18df7367386dfc09cd40fa521a25f" [[package]] name = "aiohttp" @@ -908,6 +908,35 @@ files = [ {file = "httptools-0.6.1.tar.gz", hash = "sha256:c6e26c30455600b95d94b1b836085138e82f177351454ee841c148f93a9bad5a"}, ] +[[package]] +name = "hypothesis" +version = "6.98.5" +requires_python = ">=3.8" +summary = "A library for property-based testing" +dependencies = [ + "attrs>=22.2.0", + "sortedcontainers<3.0.0,>=2.1.0", +] +files = [ + {file = "hypothesis-6.98.5-py3-none-any.whl", hash = "sha256:9449b9878116133269da4941b6a20e83003ef95503a2106365d4756ef3adc2b7"}, + {file = "hypothesis-6.98.5.tar.gz", hash = "sha256:cfe4c2320580f97dd0d11cd3ee954a347764aec42aa0c95b7a0285c2b02447ab"}, +] + +[[package]] +name = "hypothesis" +version = "6.98.5" +extras = ["django"] +requires_python = ">=3.8" +summary = "A library for property-based testing" +dependencies = [ + "django>=3.2", + "hypothesis==6.98.5", +] +files = [ + {file = "hypothesis-6.98.5-py3-none-any.whl", hash = "sha256:9449b9878116133269da4941b6a20e83003ef95503a2106365d4756ef3adc2b7"}, + {file = "hypothesis-6.98.5.tar.gz", hash = "sha256:cfe4c2320580f97dd0d11cd3ee954a347764aec42aa0c95b7a0285c2b02447ab"}, +] + [[package]] name = "idna" version = "3.4" @@ -1681,6 +1710,15 @@ files = [ {file = "sniffio-1.3.0.tar.gz", hash = "sha256:e60305c5e5d314f5389259b7f22aaa33d8f7dee49763119234af3755c55b9101"}, ] +[[package]] +name = "sortedcontainers" +version = "2.4.0" +summary = "Sorted Containers -- Sorted List, Sorted Dict, Sorted Set" +files = [ + {file = "sortedcontainers-2.4.0-py2.py3-none-any.whl", hash = "sha256:a163dcaede0f1c021485e957a39245190e74249897e2ae4b2aa38595db237ee0"}, + {file = "sortedcontainers-2.4.0.tar.gz", hash = "sha256:25caa5a06cc30b6b83d11423433f65d1f9d76c4c6a0c90e3379eaa43b9bfdb88"}, +] + [[package]] name = "soupsieve" version = "2.3.2.post1" @@ -1741,6 +1779,16 @@ files = [ {file = "tablib-3.5.0.tar.gz", hash = "sha256:f6661dfc45e1d4f51fa8a6239f9c8349380859a5bfaa73280645f046d6c96e33"}, ] +[[package]] +name = "tblib" +version = "3.0.0" +requires_python = ">=3.8" +summary = "Traceback serialization library." +files = [ + {file = "tblib-3.0.0-py3-none-any.whl", hash = "sha256:80a6c77e59b55e83911e1e607c649836a69c103963c5f28a46cbeef44acf8129"}, + {file = "tblib-3.0.0.tar.gz", hash = "sha256:93622790a0a29e04f0346458face1e144dc4d32f493714c6c3dff82a4adb77e6"}, +] + [[package]] name = "tinycss2" version = "1.1.1" diff --git a/pyproject.toml b/pyproject.toml index 46e85f5..923637a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -125,6 +125,8 @@ debug = [ dev = [ "django-extensions~=3.2", "ipython~=8.21", + "hypothesis[django]~=6.98", + "tblib~=3.0", ] [tool.pdm.scripts]