Files
core/tests/components
Punita Ojha 23b3db08f3 Rewrite smtp Unittest Tests To Pytest Style (#41720)
* 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
2020-10-16 13:55:12 +02:00
..
2020-07-13 17:43:11 +02:00
2020-10-06 18:50:32 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-10-04 14:27:22 +02:00
2020-08-27 13:56:20 +02:00
2020-09-15 22:38:45 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2019-07-31 12:25:30 -07:00
2020-07-22 20:21:32 -10:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-28 15:33:08 +00:00
2020-10-01 16:15:24 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-10-04 15:24:07 +02:00
2020-10-11 21:01:49 +02:00
2020-08-19 11:33:04 +02:00
2020-02-08 13:10:59 +01:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-10-03 15:18:05 +02:00
2020-07-13 17:43:11 +02:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2019-07-31 12:25:30 -07:00
2020-08-27 13:56:20 +02:00
2020-04-30 14:23:30 +02:00
2020-10-15 09:19:08 +02:00
2020-08-27 13:56:20 +02:00
2020-01-29 18:18:24 +01:00
2020-08-19 11:33:04 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-01-14 13:03:02 -08:00
2020-08-27 13:56:20 +02:00
2020-09-04 15:13:11 -05:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-09-03 12:22:00 -04:00
2020-04-09 00:57:47 +02:00
2020-08-27 13:56:20 +02:00
2019-07-31 12:25:30 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-10-13 11:52:51 +02:00
2020-08-27 13:56:20 +02:00
2020-10-06 19:57:38 +02:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-10-13 15:37:01 +02:00
2020-09-02 18:42:12 +02:00
2020-08-27 13:56:20 +02:00
2020-09-21 10:41:30 -05:00
2020-08-27 13:56:20 +02:00