-
Notifications
You must be signed in to change notification settings - Fork 0
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
Type hints + simple Pytest + higher precision serial #11
Type hints + simple Pytest + higher precision serial #11
Conversation
Not sure if it is working because I don't understand how to actually test the code without all the boards
Copied the charger template, forgot to switch it out
Result of copying and pasting without looking 🤷
Kinda weird because it makes no calls to HIL.check()
Can use this commit to see all the way normal tests were converted to pytest ones by looking at the modified files in scripts/
Should make a new branch/PR with this change (or just use python pages instead...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After these changes I'll tentatively say I approve since we are gonna rewrite the test scripts anyway.
|
||
import hil.utils as utils | ||
if TYPE_CHECKING: | ||
from hil.hil import HIL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idk man I didnt' think about this yet @AdityaAsGithub
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with the stipulation that the test scripts themselves are getting rewritten soon anyway, so they don't matter for the time being.
No description provided.