From 39e45948041c1b9239aaccd7874a4e483b8aa472 Mon Sep 17 00:00:00 2001 From: Justin Newberry Date: Fri, 8 Sep 2023 12:40:16 -0700 Subject: [PATCH] userspace: add pytest packages (#176) add pytest packages --- userspace/poetry.lock | 36 +++++++++++++++++++++++++++++++++++- userspace/pyproject.toml | 3 ++- 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/userspace/poetry.lock b/userspace/poetry.lock index 13335e9..b1806aa 100644 --- a/userspace/poetry.lock +++ b/userspace/poetry.lock @@ -3170,6 +3170,21 @@ pluggy = ">=0.12,<2.0" [package.extras] testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] +[[package]] +name = "pytest-cpp" +version = "2.4.0" +description = "Use pytest's runner to discover and execute C++ tests" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pytest-cpp-2.4.0.tar.gz", hash = "sha256:dcb8b09d4c714fc7f778dc40a7c2c47e73cc50280d7f9bba3bdd3ca98abd4685"}, + {file = "pytest_cpp-2.4.0-py3-none-any.whl", hash = "sha256:e7c5f40b70b00cc09d672a1584e35beb9b9553512cdd4b1d1f99468747b3bc31"}, +] + +[package.dependencies] +colorama = "*" +pytest = ">=7.0" + [[package]] name = "pytest-random-order" version = "1.1.0" @@ -3184,6 +3199,20 @@ files = [ [package.dependencies] pytest = ">=3.0.0" +[[package]] +name = "pytest-timeout" +version = "2.1.0" +description = "pytest plugin to abort hanging tests" +optional = false +python-versions = ">=3.6" +files = [ + {file = "pytest-timeout-2.1.0.tar.gz", hash = "sha256:c07ca07404c612f8abbe22294b23c368e2e5104b521c1790195561f37e1ac3d9"}, + {file = "pytest_timeout-2.1.0-py3-none-any.whl", hash = "sha256:f6f50101443ce70ad325ceb4473c4255e9d74e3c7cd0ef827309dfa4c0d975c6"}, +] + +[package.dependencies] +pytest = ">=5.0.0" + [[package]] name = "python-dateutil" version = "2.8.2" @@ -3447,6 +3476,11 @@ files = [ {file = "pyzstd-0.15.9-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:3351ad2feb51dcbb936defd47cab00d6f114214f224636503ed08298f30164c9"}, {file = "pyzstd-0.15.9-cp39-cp39-win32.whl", hash = "sha256:3bc0e7e2cccf78e562ab416daf68448b6552a5b6450a1ff3e15cabfc19254883"}, {file = "pyzstd-0.15.9-cp39-cp39-win_amd64.whl", hash = "sha256:40bdb468281a5cd525e2e990b97344f0974e0589bd1b395501c25471fcd7edda"}, + {file = "pyzstd-0.15.9-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:c9589cb79d4e401630481755c92b072aa7ba5505ec81dec865ef43932ec037e4"}, + {file = "pyzstd-0.15.9-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3a26df749589d898cd3253d2139eb85b867ddffc49286059c8bdb3cb9ce9b545"}, + {file = "pyzstd-0.15.9-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e9934277abdddf9c733267e4dcc4886de8a3302d28f390237d447e215e8ce47d"}, + {file = "pyzstd-0.15.9-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ca19213785f864781848e0216cba07e97f563f60a50bbc7885b54461d8c64873"}, + {file = "pyzstd-0.15.9-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:84aa6eecba967bdac167451501dcaceec548d8b8c4ca7fa41ceda4dbfc279297"}, {file = "pyzstd-0.15.9-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:47c2a4c319300c381f194274203f47b12c433e1fd86b90ecdc7fb258c630f93b"}, {file = "pyzstd-0.15.9-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:86e0e65e205793b337d62d9764700dfd02b5f83b01e26ad345736e7ac0554ebd"}, {file = "pyzstd-0.15.9-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:64564f4c175c5bb8e744de5816d69ee0b940e472160a5e665f30adc412b694f3"}, @@ -4478,4 +4512,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "~3.11" -content-hash = "ce8f36bf9b9f5e9776290cd66441bfbc348b15cfcd78dc0a4a748d99a5fb9158" +content-hash = "ced98245db7b32ebc007a3929f57f2a2d52d4eb7944bf5e7890df357b889f9ca" diff --git a/userspace/pyproject.toml b/userspace/pyproject.toml index 774e157..ce4714d 100644 --- a/userspace/pyproject.toml +++ b/userspace/pyproject.toml @@ -65,6 +65,8 @@ aiohttp = "*" aiortc = "*" evdev = "*" pytest-random-order = "^1.1.0" +pytest-cpp = "*" +pytest-timeout = "*" [tool.poetry.group.dev.dependencies] ipython = "*" @@ -93,6 +95,5 @@ requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" pytest-mock = "*" pytest-repeat = "*" -pytest-timeout = "*" pytest-timeouts = "*" hypothesis = "*"