From 2da7720c565f560816a16462eeb6134e9741ee64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sun, 4 Oct 2020 19:51:50 +0100 Subject: Backport the one test that was present in glucometerutils. This also sets up the whole pytest configuration and Travis CI integration. --- pyproject.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index e6eedfe..a062cb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,3 +42,14 @@ known_first_party = ['glucometerutils'] known_third_party = ['construct', 'hidapi', 'pyscsi', 'serial', 'usbmon'] [tool.setuptools_scm] + +[tool.pytest.ini_options] +addopts = "--color=yes --ignore=setup.py -ra" +timeout = 120 +norecursedirs = [ + '.env', + '.git', + 'dist', + 'build', + 'venv', +] -- cgit v1.2.3