thegridelectric / gw-scada-spaceheat-python

GridWorks SCADA for space heating
MIT License
5 stars 2 forks source link

test dataclass - schema conversions #83

Closed jessicamillar closed 2 years ago

jessicamillar commented 2 years ago

Add derived tests for converting schema into dataclass objects and vice versa.

codecov[bot] commented 2 years ago

Codecov Report

Merging #83 (03cb021) into main (d480f63) will increase coverage by 1.39%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #83      +/-   ##
==========================================
+ Coverage   92.28%   93.68%   +1.39%     
==========================================
  Files         167      167              
  Lines        6536     6615      +79     
==========================================
+ Hits         6032     6197     +165     
+ Misses        504      418      -86     
Impacted Files Coverage Δ
test/schema/test_property_format.py 100.00% <ø> (ø)
test/schema/test_gt_boolean_actuator_cac.py 100.00% <100.00%> (ø)
test/schema/test_gt_boolean_actuator_component.py 100.00% <100.00%> (ø)
test/schema/test_gt_dispatch.py 100.00% <100.00%> (ø)
test/schema/test_gt_electric_heater_cac.py 100.00% <100.00%> (ø)
test/schema/test_gt_electric_heater_component.py 100.00% <100.00%> (ø)
test/schema/test_gt_electric_meter_cac.py 100.00% <100.00%> (ø)
test/schema/test_gt_electric_meter_component.py 100.00% <100.00%> (ø)
test/schema/test_gt_eq_reporting_config.py 100.00% <100.00%> (ø)
test/schema/test_gt_heartbeat_a.py 100.00% <100.00%> (ø)
... and 29 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more