Skip to content
Snippets Groups Projects
Commit 9c66d5f6 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

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

parent 1c4b1278
No related branches found
No related tags found
No related merge requests found
......@@ -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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment