epenet
b9beed4624
Add type hints to integration tests (part 6) ( #87979 )
2023-02-13 09:45:11 +01:00
epenet
7a4d15a657
Add type hints to integration tests (f-g) ( #87700 )
2023-02-08 13:33:52 +01:00
d0nni3q84
f7bd88c952
Fix Feedreader Atom feeds using `updated` date ( #73208 )
...
* Feedreader: Properly support Atom feeds that use only the `updated` date format and resolve #73207 .
* Revert "Feedreader: Properly support Atom feeds that use only the `updated` date format and resolve #73207."
This reverts commit 4dbd11ee04
.
* Properly support Atom feeds that use only the `updated` date format and resolve #73207 .
* Revert "Properly support Atom feeds that use only the `updated` date format and resolve #73207."
This reverts commit 14366c6a24
.
* Properly support Atom feeds that use only the `updated` date format and resolve #73207 .
2022-06-08 20:32:01 +02:00
epenet
b9d3bb4cfd
Fix tests and add setup type in feedreader ( #64280 )
...
* Fix feedreader tests
* Cleanup
* Add setup type hints
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-17 09:42:00 +01:00
Brig Lamoreaux
d1e30fdd54
Rewrite test for feedreader ( #57292 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-19 17:15:56 +02:00
tkdrob
a5a45f29e2
Cleanup unused loggers ( #46510 )
2021-02-14 13:46:58 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Felipe Martins Diel
fec4966ee0
Clean up feedreader files at the end ( #39064 )
2020-08-19 16:38:34 -05:00
Paulus Schoutsen
c33edbe5bb
Use TestCase.addCleanup ( #36560 )
2020-06-08 12:26:40 -07:00
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ( #35109 )
...
* Use asynctest-mock in most places
* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
springstan
ad102b3840
Use f-strings in integrations starting with "F"and"G" ( #32150 )
...
* Use f-strings in integrations starting with F
* Use f-strings in tests for integrations starting with F
* Use f-strings in integrations starting with G
* Use f-strings in tests for integrations starting with G
* Fix pylint error
* Fix broken test
2020-02-24 17:54:20 -08:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
Bas Nijholt
c59bf0bff6
`genericpath` is an internal Python module and shouldn't be imported according to core Python devs. (see [this]( https://bugs.python.org/msg358136 ) comment) ( #29903 )
...
For a reason unknown to me, @exxamalte introduced this in https://github.com/home-assistant/home-assistant/pull/14342 .
The problem is that Linux and macOS implement `os.path` differently, one imports from [`ntpath.py`](https://github.com/python/cpython/blob/master/Lib/ntpath.py ) and the other one from [`posixpath.py`](https://github.com/python/cpython/blob/master/Lib/posixpath.py ), and both these files use `genericpath.py`.
Somehow, `isort` on macOS will see `genericpath` as a third party library and sort it accordingly.
Other Unix-based OSes will correctly treat `genericpath` as an internal library.
This problem led to a sorting sequence in the following commits:
- ca0fad2cbb
- f5d4878992
- 7d68e88d31
- 1fee400dcd
This supersedes https://github.com/home-assistant/home-assistant/pull/29893 .
2019-12-13 09:47:09 +01:00
Alexei Chetroi
1fee400dcd
Revert "Sort import for tests/components/feedreader/test_init.… ( #29882 )
...
This reverts commit 7d68e88d31
.
2019-12-12 17:10:43 +01:00
Bas Nijholt
7d68e88d31
Sort import for tests/components/feedreader/test_init.py ( #29878 )
...
This unblocks https://github.com/home-assistant/home-assistant/pull/29739
2019-12-12 15:56:32 +01:00
Franck Nijhof
f5d4878992
Fix isort on a small set of misc files ( #29803 )
2019-12-10 09:25:42 +01:00
Bas Nijholt
ca0fad2cbb
Sort imports according to PEP8 for components starting with "F" ( #29766 )
2019-12-09 14:14:40 +01:00
Malte Franken
d200c2dca2
fix feedreader handling unrecognized published date ( #28225 )
2019-10-31 21:05:42 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
b8cc547fa3
Move components to folders ( #20774 )
...
* Move all components into folders
* Move component tests into folders
* Fix init moving
* Move tests
* Lint
* Update coverage
* Fix service descriptions
* Update CODEOWNERS
2019-02-05 19:31:15 -08:00