You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to setup tests for a custom component which uses oauth2 authorization. When researching how to test a custom component I found this project and I found some oauth2 scaffolding scripts which are part of HA.
The HA scaffolding generated test code for oauth2 works for a core component, but when trying this as part of a custom component it fails with the error below. I have added a conftest.py but that didn't resolve. As it works within the core HA test directory I think this project does something which breaks it.
I am trying to setup tests for a custom component which uses oauth2 authorization. When researching how to test a custom component I found this project and I found some oauth2 scaffolding scripts which are part of HA.
The HA scaffolding generated test code for oauth2 works for a core component, but when trying this as part of a custom component it fails with the error below. I have added a conftest.py but that didn't resolve. As it works within the core HA test directory I think this project does something which breaks it.
In order to analyze this I have isolated everything in a small test repo, see https://github.com/jwillemsen/haoauth2_test.
The text was updated successfully, but these errors were encountered: