diff options
Diffstat (limited to '')
-rw-r--r-- | test/suite_dissection.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/suite_dissection.py b/test/suite_dissection.py index ee90c930..18eb4a2e 100644 --- a/test/suite_dissection.py +++ b/test/suite_dissection.py @@ -919,7 +919,9 @@ class TestDissectCommunityId: self.check_baseline(dirs, stdout, 'communityid-filtered.txt') class TestDecompressMongo: - def test_decompress_zstd(self, cmd_tshark, capture_file, test_env): + def test_decompress_zstd(self, cmd_tshark, features, capture_file, test_env): + if not features.have_zstd: + pytest.skip('Requires zstd.') stdout = subprocess.check_output((cmd_tshark, '-d', 'tcp.port==27017,mongo', '-r', capture_file('mongo-zstd.pcapng'), |