From fc75392193a167d68ec77474f6b558d5551efd94 Mon Sep 17 00:00:00 2001
From: Alfredo Moralejo <amoralej@redhat.com>
Date: Wed, 21 Feb 2024 09:45:57 +0100
Subject: [PATCH] Remove poetry cli usage and fix for running unit tests in
CentOS9
---
pyproject.toml | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index e8e149a..802a6d7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -109,9 +109,6 @@ testpaths = [
markers = [
"mongo",
]
-pythonpath = [
- "tests",
-]
[tool.coverage.run]
branch = true
@@ -262,12 +259,7 @@ skip_install = true
whitelist_externals =
xmlsec1
poetry
-commands_pre =
- poetry install --with test,coverage
- xmlsec1 --version
- poetry run python --version
- poetry run pytest --version
- poetry run tox --version
commands =
- poetry run pytest --import-mode=importlib --cov=saml2 --cov-report=term-missing
+ pytest --import-mode=importlib --cov=saml2 --cov-report=term-missing
"""
+
--
2.38.1