Module: check_mk
Branch: master
Commit: cd957c5aa7472a77522c5dba3282c368d45c35b1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cd957c5aa7472a…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Thu Mar 22 15:02:35 2018 +0100
Use UTF-8 src encoding for Win-agent integration tests
---
agents/windows/it/conftest.py | 2 ++
agents/windows/it/lock.py | 2 ++
agents/windows/it/remote.py | 2 ++
agents/windows/it/test_agent_start_parameters.py | 2 ++
agents/windows/it/test_section_check_mk.py | 2 ++
agents/windows/it/test_section_df.py | 2 ++
agents/windows/it/test_section_dotnet_clrmemory.py | 2 ++
agents/windows/it/test_section_eventlog.py | 2 ++
agents/windows/it/test_section_fileinfo.py | 2 ++
agents/windows/it/test_section_logfiles.py | 2 ++
agents/windows/it/test_section_mem.py | 2 ++
agents/windows/it/test_section_mrpe.py | 2 ++
agents/windows/it/test_section_openhardwaremonitor.py | 2 ++
agents/windows/it/test_section_plugin_group.py | 2 ++
agents/windows/it/test_section_ps.py | 2 ++
agents/windows/it/test_section_services.py | 2 ++
agents/windows/it/test_section_spool.py | 2 ++
agents/windows/it/test_section_systemtime.py | 2 ++
agents/windows/it/test_section_uptime.py | 2 ++
agents/windows/it/test_section_winperf.py | 2 ++
agents/windows/it/test_section_wmi_cpuload.py | 2 ++
agents/windows/it/test_section_wmi_webservices.py | 2 ++
22 files changed, 44 insertions(+)
diff --git a/agents/windows/it/conftest.py b/agents/windows/it/conftest.py
index 0abb067..ce9bb08 100644
--- a/agents/windows/it/conftest.py
+++ b/agents/windows/it/conftest.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
import glob
import os
import pytest
diff --git a/agents/windows/it/lock.py b/agents/windows/it/lock.py
index de033cf..743b21d 100644
--- a/agents/windows/it/lock.py
+++ b/agents/windows/it/lock.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
# Implement file based locking on Windows.
# Simply exit with 1 if lock file exists (no retry).
diff --git a/agents/windows/it/remote.py b/agents/windows/it/remote.py
index f11a9f2..8e06b60 100644
--- a/agents/windows/it/remote.py
+++ b/agents/windows/it/remote.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
import ConfigParser
import contextlib
import os
diff --git a/agents/windows/it/test_agent_start_parameters.py
b/agents/windows/it/test_agent_start_parameters.py
index 837c6fa..84c01cf 100644
--- a/agents/windows/it/test_agent_start_parameters.py
+++ b/agents/windows/it/test_agent_start_parameters.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
try:
# Use iter version of filter
from future_builtins import filter
diff --git a/agents/windows/it/test_section_check_mk.py
b/agents/windows/it/test_section_check_mk.py
index 06a3c42..72b6b42 100644
--- a/agents/windows/it/test_section_check_mk.py
+++ b/agents/windows/it/test_section_check_mk.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
import os
import platform
import pytest
diff --git a/agents/windows/it/test_section_df.py b/agents/windows/it/test_section_df.py
index 8aeb2fb..36e652b 100644
--- a/agents/windows/it/test_section_df.py
+++ b/agents/windows/it/test_section_df.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
import os
import pytest
import re
diff --git a/agents/windows/it/test_section_dotnet_clrmemory.py
b/agents/windows/it/test_section_dotnet_clrmemory.py
index e4c6245..d1ebbf4 100644
--- a/agents/windows/it/test_section_dotnet_clrmemory.py
+++ b/agents/windows/it/test_section_dotnet_clrmemory.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
from itertools import chain, repeat
import os
import pytest
diff --git a/agents/windows/it/test_section_eventlog.py
b/agents/windows/it/test_section_eventlog.py
index c3466b5..ccebfcb 100644
--- a/agents/windows/it/test_section_eventlog.py
+++ b/agents/windows/it/test_section_eventlog.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
import contextlib
from itertools import chain, repeat
import math
diff --git a/agents/windows/it/test_section_fileinfo.py
b/agents/windows/it/test_section_fileinfo.py
index c2f59e8..0c4a03c 100644
--- a/agents/windows/it/test_section_fileinfo.py
+++ b/agents/windows/it/test_section_fileinfo.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
import os
import platform
import pytest
diff --git a/agents/windows/it/test_section_logfiles.py
b/agents/windows/it/test_section_logfiles.py
index 617f729..a17fd8c 100644
--- a/agents/windows/it/test_section_logfiles.py
+++ b/agents/windows/it/test_section_logfiles.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
import io
import os
import platform
diff --git a/agents/windows/it/test_section_mem.py
b/agents/windows/it/test_section_mem.py
index 816c43e..62ceb79 100644
--- a/agents/windows/it/test_section_mem.py
+++ b/agents/windows/it/test_section_mem.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
import os
import pytest
from remote import actual_output, config, remotetest, wait_agent, write_config
diff --git a/agents/windows/it/test_section_mrpe.py
b/agents/windows/it/test_section_mrpe.py
index e71643d..c254c3c 100644
--- a/agents/windows/it/test_section_mrpe.py
+++ b/agents/windows/it/test_section_mrpe.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
import os
import platform
import pytest
diff --git a/agents/windows/it/test_section_openhardwaremonitor.py
b/agents/windows/it/test_section_openhardwaremonitor.py
index 4bb2768..2d3f603 100644
--- a/agents/windows/it/test_section_openhardwaremonitor.py
+++ b/agents/windows/it/test_section_openhardwaremonitor.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
from itertools import chain, repeat
import os
import platform
diff --git a/agents/windows/it/test_section_plugin_group.py
b/agents/windows/it/test_section_plugin_group.py
index c2745f1..1feca47 100644
--- a/agents/windows/it/test_section_plugin_group.py
+++ b/agents/windows/it/test_section_plugin_group.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
from itertools import chain, repeat
import os
import platform
diff --git a/agents/windows/it/test_section_ps.py b/agents/windows/it/test_section_ps.py
index 0cf4446..ab4dc56 100644
--- a/agents/windows/it/test_section_ps.py
+++ b/agents/windows/it/test_section_ps.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
from itertools import chain, repeat
import os
import pytest
diff --git a/agents/windows/it/test_section_services.py
b/agents/windows/it/test_section_services.py
index d5517e8..db232d7 100644
--- a/agents/windows/it/test_section_services.py
+++ b/agents/windows/it/test_section_services.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
from itertools import chain, repeat
import os
import pytest
diff --git a/agents/windows/it/test_section_spool.py
b/agents/windows/it/test_section_spool.py
index 1ff6308..f5f16f4 100644
--- a/agents/windows/it/test_section_spool.py
+++ b/agents/windows/it/test_section_spool.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
import os
import platform
import pytest
diff --git a/agents/windows/it/test_section_systemtime.py
b/agents/windows/it/test_section_systemtime.py
index 98ca162..6e8fe43 100644
--- a/agents/windows/it/test_section_systemtime.py
+++ b/agents/windows/it/test_section_systemtime.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
import os
import pytest
from remote import actual_output, config, remotetest, wait_agent, write_config
diff --git a/agents/windows/it/test_section_uptime.py
b/agents/windows/it/test_section_uptime.py
index 28d7f30..864f214 100644
--- a/agents/windows/it/test_section_uptime.py
+++ b/agents/windows/it/test_section_uptime.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
import os
import pytest
from remote import actual_output, config, remotetest, wait_agent, write_config
diff --git a/agents/windows/it/test_section_winperf.py
b/agents/windows/it/test_section_winperf.py
index b8afff5..31cf0ff 100644
--- a/agents/windows/it/test_section_winperf.py
+++ b/agents/windows/it/test_section_winperf.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
from itertools import repeat
import os
import pytest
diff --git a/agents/windows/it/test_section_wmi_cpuload.py
b/agents/windows/it/test_section_wmi_cpuload.py
index 4703d3f..eda4f63 100644
--- a/agents/windows/it/test_section_wmi_cpuload.py
+++ b/agents/windows/it/test_section_wmi_cpuload.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
import os
import pytest
import re
diff --git a/agents/windows/it/test_section_wmi_webservices.py
b/agents/windows/it/test_section_wmi_webservices.py
index 9478249..eae4b85 100644
--- a/agents/windows/it/test_section_wmi_webservices.py
+++ b/agents/windows/it/test_section_wmi_webservices.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8; py-indent-offset: 4 -*-
from itertools import chain, repeat
import os
import pytest