Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mock display for local development #3

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Add mock display for local development #3

merged 1 commit into from
Jan 6, 2025

Conversation

adriankeenan
Copy link
Owner

As it says on the tin. An env var can be set to replace the real epd object (which handles all interactions with the display) with Mock() from unittest, which simply ignores all calls.

@adriankeenan adriankeenan merged commit 52ff20d into main Jan 6, 2025
1 check passed
@adriankeenan adriankeenan deleted the mock branch January 7, 2025 22:30
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