Commit 9c66d5f6 authored by Chris Lamb's avatar Chris Lamb 💬

Truncate the tcpdump expected diff to 8KB (from ~600KB).

parent 1c4b1278
......@@ -46,7 +46,7 @@ def differences(pcap1, pcap2):
@skip_unless_tools_exist('tcpdump')
def test_diff(differences):
expected_diff = get_data('pcap_expected_diff')
assert differences[0].unified_diff == expected_diff
assert differences[0].unified_diff[: 2 ** 13] == expected_diff[: 2 ** 13]
@skip_unless_tools_exist('tcpdump')
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment