Appdaemon-Test-Framework
Appdaemon-Test-Framework copied to clipboard
Clean, human-readable tests for Appdaemon
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3. Release notes Sourced from jinja2's releases. 3.1.3 This is a fix release for the 3.1.x feature branch. Fix for GHSA-h5c8-rqwp-cp95. You are affected if...
select_option is a AppDaemon command that was not mocked. in issue #48 I used the select_option AppDaemon method. It seems that it was not implemented. Adding it to the list...
Implements #59. I just couldn't wait. I do have doubts about one "missing" test case. What if the service name is invalid (that would cause a ValueError) and it has...
For the following functions i added a side_effect function to return unique ids. * run_once * run_at * run_daily * run_hourly * run_minutely * run_every * run_at_sunrise, * run_at_sunset I...
- adapted tests to be compatible to pytest 6.2.5
Hi! Thank you for this amazing piece of software. I am not a python guru but I used a lot appdaemon in the past. I am starting with a different...
AppDaemon has a concept of module dependencies via a separate directive: https://appdaemon.readthedocs.io/en/latest/APPGUIDE.html#global-module-dependencies in addition to normal module dependencies (which cause the same issue). AppDaemon modifies the `PYTHONPATH` such that it...
Soo I just found a bug in an automation I wrote. I wrote `notify.mobile_app_fairphone` instead of `notify/mobile_app_fairphone` The reason it took me a while to find, is that I made...
This is a great little utility I'm using very much. However, for the sake of having more expressive tests, it would be great to have a `when` helper that has...
AppDaemon has example of using Hass and MQTT from same automation, using ADBase rather than Hass from plugin https://appdaemon.readthedocs.io/en/latest/APPGUIDE.html?highlight=adbase#using-multiple-apis-from-one-app The test framework will reject this, since expects base class to...