Module: check_mk
Branch: master
Commit: 1cfe1bb78f352e85c735390edb536000783d3c2d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1cfe1bb78f352e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu May 2 10:46:36 2019 +0200
Disable site fixture for packaging tests, just like for unit tests
Change-Id: I4ef6bd53488fce82a3645f1f067b22bc04196bbf
---
tests/packaging/conftest.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/packaging/conftest.py b/tests/packaging/conftest.py
index 6e3faac..89f9eee 100644
--- a/tests/packaging/conftest.py
+++ b/tests/packaging/conftest.py
@@ -2,6 +2,13 @@ import os
import pytest
+# Packaging tests should not be executed in site.
+# -> Disabled site fixture for them
+(a)pytest.fixture(scope="session")
+def site(request):
+ pass
+
+
@pytest.fixture(scope="module")
def version_path():
path = os.environ.get("VERSION_PATH")