Skip to content

Commit

Permalink
Simplify test and templatize filter
Browse files Browse the repository at this point in the history
* Simplify test (from IOS copy/paste)
* Add `tmpl` extension to filter file for gomplate
  • Loading branch information
Mark Bonsack committed Mar 27, 2020
1 parent 2eb94cd commit f7d50d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/test_f5_bigip.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ def test_f5_bigip_irule(record_property, setup_wordlist, get_host_key, setup_spl
iso, bsd, time, date, tzoffset, tzname, epoch = time_operations(dt)

# Tune time functions
epoch = epoch[:-7]
epoch = epoch[:-3]

mt = env.from_string(event + "\n")
message = mt.render(mark="<166>", bsd=bsd, host=host)
message = mt.render(mark="<166>", iso=iso, host=host)

sendsingle(message, setup_sc4s[0], setup_sc4s[1][514])

Expand Down

0 comments on commit f7d50d2

Please sign in to comment.