Skip to content

Commit

Permalink
Updated test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaleiya committed May 13, 2020
1 parent 50a1dfb commit eb9bf42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cisco_wsa.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_cisco_wsa_squid_11_7(record_property, setup_wordlist, get_host_key, set
st = env.from_string(
"search index=netops sourcetype=\"cisco:wsa:squid:new\" _raw=\"{{ message }}\"")
message1 = mt.render(mark="", bsd="", host="")
search = st.render(epoch=epoch ,host=host, message=message1.lstrip().replace('"','\\"'))
search = st.render(host=host, message=message1.lstrip().replace('"','\\"'))
resultCount, eventCount = splunk_single(setup_splunk, search)

record_property("host", host)
Expand All @@ -80,7 +80,7 @@ def test_cisco_wsa_squid(record_property, setup_wordlist, get_host_key, setup_sp
st = env.from_string(
"search index=netops sourcetype=\"cisco:wsa:squid\" _raw=\"{{ message }}\"")
message1 = mt.render(mark="", bsd="", host="")
search = st.render(epoch=epoch ,host=host, message=message1.lstrip().replace('"','\\"'))
search = st.render(host=host, message=message1.lstrip().replace('"','\\"'))
resultCount, eventCount = splunk_single(setup_splunk, search)

record_property("host", host)
Expand Down

0 comments on commit eb9bf42

Please sign in to comment.