Module: check_mk
Branch: master
Commit: d80be9a91ef69b180029b68460a0b1ed66085086
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d80be9a91ef69b…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Jan 10 17:01:18 2018 +0100
Added suppressions for Bandit.
Change-Id: I5299f88bbf48348046e65520f15ad98fdc396b81
---
agents/windows/it/remote.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/agents/windows/it/remote.py b/agents/windows/it/remote.py
index 6352078..27506b9 100644
--- a/agents/windows/it/remote.py
+++ b/agents/windows/it/remote.py
@@ -6,7 +6,7 @@ import pytest
import re
import subprocess
import sys
-import telnetlib
+import telnetlib # nosec
# To use another host for running the tests, replace this IP address.
remote_ip = '10.1.2.30'
@@ -71,7 +71,7 @@ def actual_output(write_config, wait_agent):
p = subprocess.Popen([agent_exe, 'adhoc'])
# Override wait_agent in tests to wait for async processes to start.
wait_agent()
- telnet = telnetlib.Telnet(host, port)
+ telnet = telnetlib.Telnet(host, port) # nosec
yield telnet.read_all().splitlines()
finally:
try: