Module: check_mk
Branch: master
Commit: 68084d8c4de22d44f6751257e574d483ad0f688d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=68084d8c4de22d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jan 27 08:14:31 2017 +0100
Fixed issue in recent change
Change-Id: Ic6253dd9f54242e1c64ddcd3d42f9812bfcbd45d
---
tests/conftest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/conftest.py b/tests/conftest.py
index b20c958..fbcd902 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -118,7 +118,7 @@ def _site_id():
site_id = os.environ.get("OMD_SITE")
if site_id == None:
site_id = file(testlib.repo_path() + "/.site").read().strip()
- putenv("OMD_SITE", site_id)
+ os.putenv("OMD_SITE", site_id)
return site_id