Skip to content

Commit

Permalink
fix test for lines with uuid (crowdsec 1.5+) (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc authored Jun 7, 2023
1 parent 88a0ef4 commit 3ba5d79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/bouncer/test_custom_bouncer.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ def test_add_decisions(bouncer_with_lapi):

for i, line in enumerate(lines, start=1):
line = json.loads(line)
del line['duration']
line.pop('duration', None)
line.pop('uuid', None)
assert line == {
'action': 'add',
'id': i,
Expand Down

0 comments on commit 3ba5d79

Please sign in to comment.