Skip to content

Feat/sat mock scan#15

Merged
buckleypaul merged 2 commits intomainfrom
feat/sat-mock-scan
Apr 1, 2026
Merged

Feat/sat mock scan#15
buckleypaul merged 2 commits intomainfrom
feat/sat-mock-scan

Conversation

@buckleypaul
Copy link
Copy Markdown
Collaborator

No description provided.

Add `hubblenetwork sat mock-scan` CLI command that starts the sdr-docker
container in mock mode (SDR_TYPE=mock), streaming synthetic packets
without requiring PlutoSDR hardware.

- Parameterize `start_container()` and `scan()` to support mock mode
- Extract shared `_run_sat_scan()` helper and `_sat_scan_options`
  decorator to avoid duplication between scan and mock-scan commands
- Add unit tests for mock container params and CLI integration
Add end-to-end tests that start the real sdr-docker container in mock
mode and verify packets are received via both the Python API and CLI.

- New sat-mock-test workflow: runs on PR, push to main, weekly, with
  Docker image caching via actions/cache + docker save/load
- New test_sat_integration.py with class-scoped fixture to share a
  single container lifecycle across all API tests
- Add `docker` pytest marker and exclude it from release workflow
@buckleypaul buckleypaul merged commit a494568 into main Apr 1, 2026
2 checks passed
@buckleypaul buckleypaul deleted the feat/sat-mock-scan branch April 1, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant