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

improve board mock and implement busio singletons #7

Merged
merged 5 commits into from
Aug 6, 2024
Merged

Conversation

2bndy5
Copy link
Owner

@2bndy5 2bndy5 commented Aug 5, 2024

resolves #4 and closes #5

@2bndy5 2bndy5 added the enhancement New feature or request label Aug 5, 2024
@codecov-commenter
Copy link

codecov-commenter commented Aug 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (93b6b08) to head (6cfaa72).

Additional details and impacted files
@@            Coverage Diff             @@
##              main        #7    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           11        11            
  Lines          459       595   +136     
==========================================
+ Hits           459       595   +136     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@2bndy5 2bndy5 changed the title improve board mock improve board mock and implement busio singletons Aug 6, 2024
@2bndy5 2bndy5 merged commit 0e37ada into main Aug 6, 2024
2 checks passed
@2bndy5 2bndy5 deleted the improve-board branch August 6, 2024 03:42
2bndy5 added a commit that referenced this pull request Aug 7, 2024
2bndy5 added a commit that referenced this pull request Aug 7, 2024
* move fixture to fixtures module
* segregate tests and add `board.SPI1()`
* make base ops private
* rm dev artifact from #7
* improve docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

implement mocks for board.SPI and board.I2C classes Add more pins to the mock board module
2 participants