Add flock_tap test suite and .gitignore #2
Reference in New Issue
Block a user
Delete Branch "Trilltechnician/Flock_SCAN-fix:tests-hygiene/flock-tap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a pytest suite for
flock_tap.pyplus a.gitignore.Tests (
tests/test_flock_tap.py, 31 cases):classify_device/classify_camera, tcpdump-line parsing.bytes_upinflation, and known-Flock-IP correlation. These fail against the pre-fix code and pass after it. scapy-dependent tests skip cleanly when scapy isn't installed.python3 -m pytest tests/ -q.gitignore: Python caches (
__pycache__/,*.pyc,.pytest_cache/) and capture/scan outputs (*.pcap,report.json,creds_*.txt,s3_urls_*.txt).Note: this is stacked on the detection-fix PR (#1) — the tests assert the fixed behavior, so the branch includes that commit and its diff will show
flock_tap.pyuntil #1 lands. Once #1 merges, this rebases down to tests +.gitignoreonly. (Alternatively, merge this one and close #1 — it contains #1's fix.)