Skip to content

Commit

Permalink
Made tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
CJNE committed Mar 25, 2023
1 parent 0b44831 commit 6b1340c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-r requirements_dev.txt
pytest-homeassistant-custom-component==0.13.10
pytest-homeassistant-custom-component
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ combine_as_imports = true
[tool:pytest]
addopts = -qq --cov=custom_components.myenergi
console_output_style = count
asyncio_mode = auto

[coverage:run]
branch = False
Expand Down
1 change: 0 additions & 1 deletion tests/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ async def test_options_flow(hass):

# Verify that the flow finishes
assert result["type"] == data_entry_flow.RESULT_TYPE_CREATE_ENTRY
assert result["title"] is None

# Verify that the options were updated
assert entry.options == {CONF_SCAN_INTERVAL: 22}

0 comments on commit 6b1340c

Please sign in to comment.