1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Removal of extraneous parenthesis in tests (#33670)

* Removal of extraneous parenthesis

* Process review suggestions

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
Franck Nijhof
2020-04-05 03:50:30 +02:00
committed by GitHub
parent 61b4d1e8de
commit 528c7f4871
7 changed files with 17 additions and 25 deletions

View File

@@ -20,7 +20,7 @@ async def test_invalid_path_setup(hass):
async def test_valid_path_setup(hass):
"""Test that a valid path is setup."""
cwd = os.path.join(os.path.dirname(__file__))
hass.config.whitelist_external_dirs = set((cwd))
hass.config.whitelist_external_dirs = {cwd}
with patch.object(folder_watcher, "Watcher"):
assert await async_setup_component(
hass,