OpenLEADR / openleadr-python

Python library for OpenADR 2.0b
https://openleadr.org/docs
Apache License 2.0
135 stars 55 forks source link

Fix broken oadrRegisterReport test #158

Closed perdue closed 1 year ago

perdue commented 1 year ago

The oadrRegisterReport test case was broken due to the inclusion of report_request_id: None in the data dict.

perdue commented 1 year ago

Running ` onmain` yields these 3 failed tests:

test/test_message_conversion.py::test_message[oadrRegisterReport-data24] FAILED                                                                                                    [ 32%]
test/test_message_conversion.py::test_message[oadrRegisterReport-data25] FAILED                                                                                                     [ 32%]
test/test_message_conversion.py::test_message[oadrRegisterReport-data26] FAILED               

More detail:

E         Right contains 1 more item:
E         {'report_request_id': None}
stan-janssen commented 1 year ago

Thanks!