Axis - Improve tests (#30415)

This commit is contained in:
Robert Svensson authored and GitHub committed 2020-01-03 00:02:59 +01:00
1 parent c1936f6fe4
commit 9b961632af
5 files changed
+179 -326

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ async def test_flow_works(hass):
)
assert result["type"] == "create_entry"
assert result["title"] == "{} - {}".format("prodnbr", "serialnumber")
assert result["title"] == f"prodnbr - serialnumber"
assert result["data"] == {
axis.CONF_DEVICE: {
config_flow.CONF_HOST: "1.2.3.4",