From 4cb64b1dcc347f8a20e8884160945b67292a674d Mon Sep 17 00:00:00 2001 From: Ryan Faircloth Date: Sat, 29 Jun 2019 19:43:31 -0400 Subject: [PATCH] Update test_poc.py --- tests/test_poc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_poc.py b/tests/test_poc.py index 4eadc5e..2e44ab2 100644 --- a/tests/test_poc.py +++ b/tests/test_poc.py @@ -25,7 +25,7 @@ def setup_wordlist(): @pytest.fixture def setup_splunk(): tried=0 - while true: + while True: try: c = client.connect(username="admin", password="Changed@11", host="splunk", port="8089") except ConnectionRefusedError: @@ -41,7 +41,6 @@ def sendsingle(message): tried = 0 try: - sock.connect(server_address) except: if tried > 90: