mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Yoda assertion style removed is (#48142)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user