[chores] add package factory-boy

This commit is contained in:
SouthFox 2023-04-07 11:46:24 +08:00
parent 1d3c924f08
commit 27c2f39f12
2 changed files with 36 additions and 1 deletions

36
poetry.lock generated
View file

@ -304,6 +304,40 @@ files = [
[package.extras]
test = ["pytest (>=6)"]
[[package]]
name = "factory-boy"
version = "3.2.1"
description = "A versatile test fixtures replacement based on thoughtbot's factory_bot for Ruby."
category = "dev"
optional = false
python-versions = ">=3.6"
files = [
{file = "factory_boy-3.2.1-py2.py3-none-any.whl", hash = "sha256:eb02a7dd1b577ef606b75a253b9818e6f9eaf996d94449c9d5ebb124f90dc795"},
{file = "factory_boy-3.2.1.tar.gz", hash = "sha256:a98d277b0c047c75eb6e4ab8508a7f81fb03d2cb21986f627913546ef7a2a55e"},
]
[package.dependencies]
Faker = ">=0.7.0"
[package.extras]
dev = ["Django", "Pillow", "SQLAlchemy", "coverage", "flake8", "isort", "mongoengine", "tox", "wheel (>=0.32.0)", "zest.releaser[recommended]"]
doc = ["Sphinx", "sphinx-rtd-theme", "sphinxcontrib-spelling"]
[[package]]
name = "faker"
version = "18.4.0"
description = "Faker is a Python package that generates fake data for you."
category = "dev"
optional = false
python-versions = ">=3.7"
files = [
{file = "Faker-18.4.0-py3-none-any.whl", hash = "sha256:170ead9d0d140916168b142df69c44722b8f622ced2070802d0af9c476f0cb84"},
{file = "Faker-18.4.0.tar.gz", hash = "sha256:977ad0b7aa7a61ed57287d6a0723a827e9d3dd1f8cc82aaf08707f281b33bacc"},
]
[package.dependencies]
python-dateutil = ">=2.4"
[[package]]
name = "fastapi"
version = "0.87.0"
@ -1508,4 +1542,4 @@ dev = ["black (>=19.3b0)", "pytest (>=4.6.2)"]
[metadata]
lock-version = "2.0"
python-versions = "^3.10"
content-hash = "1b9f7dab1b454aaadd81a4da1819a3da92d2dbb7a1890ad0d5b7433266eea5c6"
content-hash = "4ef47c5f9de929f30bc0036e7f36bb546d7323687580b1a7a5c9bfea90496cd5"

View file

@ -29,6 +29,7 @@ requests = "^2.28.2"
pytest = "^7.2.0"
pytest-asyncio = "^0.21.0"
respx = "^0.20.1"
factory-boy = "^3.2.1"
[build-system]
requires = ["poetry-core"]