mirror of
https://github.com/home-assistant/core
synced 2024-09-09 12:51:22 +02:00
![Punita Ojha](/assets/img/avatar_default.png)
* Rewrite smtp unittest tests to pytest style test functions. .coverage.rc --> Remove homeassistant/component/smtp/notify.py from omit section. test_notify.py --> Convert test case to pytest style. test.jpg, test.pdf --> Add test files. Issue id:- #40894 * Made Fix Based On Code Review To Pull Request - #41720. .coveragerc --> Add file in omit section as coverage is 75%(i.e. <95%) test_notify.py --> Capitalize constant in file, Made parametrized data compatible to avoid if conditions. Code Review Submission on Pull Request #41720. * Made Fix Based On Code Review To Pull Request #41720. test_notify.py --> Add different test for simple text message to avoid if conditions check in code. * Move Notify Media Files To Folder tests/testing_config/notify. test_notify.py --> Add Relevant Path For .jpg and .pdf file. test.jpg, test.pdf --> Move to relevant location. Pull request #41720
56 KiB
1080x608px
56 KiB
1080x608px
![](/github/ha-core/raw/commit/0fdb7052e9c2cc34a59d8b65201ba4e3393de8a5/tests/testing_config/notify/test.jpg)