-
Notifications
You must be signed in to change notification settings - Fork 180
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
feat(step-generation): python command generation for heater-shaker co… #17647
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## edge #17647 +/- ##
=======================================
Coverage 25.68% 25.68%
=======================================
Files 2851 2851
Lines 219457 219473 +16
Branches 17971 17972 +1
=======================================
+ Hits 56363 56379 +16
Misses 163079 163079
Partials 15 15
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Yay!
@@ -128,6 +128,9 @@ describe('heaterShaker compound command creator', () => { | |||
}, | |||
}, | |||
]) | |||
expect(getSuccessResult(result).python).toBe( | |||
'mock_heater_shaker_1.close_labware_latch()\nmock_heater_shaker_1.set_target_temperature(80)\nmock_heater_shaker_1.set_and_wait_for_shake_speed(444)\nprotocol.delay(seconds=30)\nmock_heater_shaker_1.deactivate_shaker()\nmock_heater_shaker_1.deactivate_heater()' | |||
) |
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.
Feel free to use a multiline string here to make this easier to read, like we do for other tests.
…mmands
closes AUTH-1102
Overview
This PR adds python support for the majority of heater-shaker commands +
setTemperature
since it is used for heater-shaker (as well as temperature module commands)Test Plan and Hands on Testing
I added unit test coverage but also review the code and smoke test
Changelog
Risk assessment
low, behind ff