Yoda assertion style removed is (#48142)

This commit is contained in:
Franck Nijhof 2021-03-20 13:55:10 +01:00 committed by GitHub
parent 365e8a74ee
commit 5a2b5fe7c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
75 changed files with 1137 additions and 1148 deletions

View file

@ -39,7 +39,7 @@ async def test_setup_adds_proper_devices(hass):
async def test_name(switch_mock):
"""Test the name."""
assert "fake_switch" == switch_mock.name
assert switch_mock.name == "fake_switch"
async def test_turn_on(switch_mock):