secdev / scapy

Scapy: the Python-based interactive packet manipulation program & library.
https://scapy.net
GNU General Public License v2.0
10.6k stars 2.01k forks source link

tests: put LLDPDUPower tests in a separate test set #4444

Closed evverx closed 3 months ago

evverx commented 3 months ago

to skip them when tshark isn't installed and -K tshark is passed.

Fixes

...
Traceback (most recent call last):
...
FileNotFoundError: Could not execute tshark, is it installed?

It's a follow-up to a28c08903412e9f21a48c869f3759596015c3383

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.45%. Comparing base (1e857c9) to head (9cd0a36).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4444 +/- ## ========================================== - Coverage 81.50% 81.45% -0.05% ========================================== Files 353 353 Lines 84394 84394 ========================================== - Hits 68783 68742 -41 - Misses 15611 15652 +41 ``` [see 10 files with indirect coverage changes](https://app.codecov.io/gh/secdev/scapy/pull/4444/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=secdev)
gpotter2 commented 3 months ago

Thanks for the PR !