Upgrade black to 20.8b1 (#39287)
This commit is contained in:
1 parent
0d7eec710c
commit
1c2ebdf307
574 files changed
+4389
-1725
No files matched your search
@@ -70,7 +70,8 @@ async def test_state_changed_event_sends_message(hass, mqtt_mock):
|
||||
e_id = "fake.entity"
|
||||
pub_topic = "bar"
|
||||
with patch(
|
||||
("homeassistant.core.dt_util.utcnow"), return_value=now,
|
||||
("homeassistant.core.dt_util.utcnow"),
|
||||
return_value=now,
|
||||
):
|
||||
# Add the eventstream component for publishing events
|
||||
assert await add_eventstream(hass, pub_topic=pub_topic)
|
||||
|
||||
Reference in new issue
Block a user