Skip to content

Commit

Permalink
Add test for ICMP unreachable test data flowcount
Browse files Browse the repository at this point in the history
  • Loading branch information
irl committed Oct 19, 2016
1 parent 8b626af commit a06a83f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_observer.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@ def test_observer_real_flowcount():
def test_observer_icmp_flowcount():
lturi = "pcap:tests/testdata/icmp.pcap"
assert _test_observer(lturi) == 1

def test_observer_icmp_unreachable_flowcount():
lturi = "pcap:tests/testdata/icmp_unreachable.pcap"
assert _test_observer(lturi) == 2

0 comments on commit a06a83f

Please sign in to comment.