From f382afd9f1f60653c2f022bedfd7e695ba27d3e4 Mon Sep 17 00:00:00 2001 From: "Reid D. 'arrdem' McKenzie" Date: Sat, 11 Jun 2022 00:27:52 -0600 Subject: [PATCH] Inject pytest-timeout --- tools/python/defs.bzl | 1 + tools/python/requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/python/defs.bzl b/tools/python/defs.bzl index ef619a7..f6bb526 100644 --- a/tools/python/defs.bzl +++ b/tools/python/defs.bzl @@ -47,6 +47,7 @@ def py_pytest(name, srcs, deps, main=None, python_version=None, args=None, **kwa py_requirement("jedi"), py_requirement("pytest-pudb"), py_requirement("pytest-cov"), + py_requirement("pytest-timeout"), ] + deps)) srcs = [f] + srcs diff --git a/tools/python/requirements.txt b/tools/python/requirements.txt index 3214edf..aaeea2a 100644 --- a/tools/python/requirements.txt +++ b/tools/python/requirements.txt @@ -74,6 +74,7 @@ pytest==6.2.5 pytest-cov==3.0.0 pytest-postgresql==4.1.0 pytest-pudb==0.7.0 +pytest-timeout==2.1.0 pytz==2021.3 PyYAML==6.0 readme-renderer==32.0