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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user