I have worked the last months on the daikin_onecta custom integration. Learned a lot about HA, python, and oauth2.
In order to improve the quality of this integration I want to add a suite of unit tests, first step was to add the generated oauth2 test_config_flow.py
. I have been able to add this test, extend the repo with a github action CI and codecov, but when I run the unit test I always get the error ValueError: No application_credentials platform for daikin_onecta
. The code is as generated by the oauth2 template, does anyone has an idea how to resolve this, I haven’t found a solution. It has to be something simple and basic, as far as I can tell some components in the home assistant core repo are using the same. The test is on master but commented out, I have a PR to enable it, see Enable test by jwillemsen · Pull Request #94 · jwillemsen/daikin_onecta · GitHub.
Any help is welcome, searching for a day now and pretty stuck