EdgePi-Cloud / edgepi-python-sdk

Python SDK to control EdgePi, an industrial PC/PLC/IoT device powered by Raspberry Pi CM4
MIT License
5 stars 3 forks source link

#390 #391

Closed sjpark608 closed 11 months ago

sjpark608 commented 11 months ago

390 handling cases and enforcing the current module state

github-actions[bot] commented 11 months ago

Code Coverage

Package Line Rate Branch Rate Health
adc 92% 89%
calibration 100% 100%
dac 100% 97%
digital_input 100% 100%
digital_output 98% 95%
eeprom 83% 63%
eeprom.protobuf_assets.eeprom_data_classes 97% 52%
eeprom.protobuf_assets.generated_pb2 79% 50%
gpio 99% 96%
led 0% 0%
peripherals 93% 50%
pwm 99% 98%
reg_helper 97% 85%
relay 100% 100%
tc 98% 98%
utilities 100% 100%
Summary 93% (3087 / 3311) 82% (643 / 785)
sjpark608 commented 11 months ago

@sjpark608 do you have a test that covers that specific case you solved?

Right now, unit tests perform whether set/clear GPIO pins with specific pin names are asserted or not. However, the the sequence of the execution is not tested