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:
parent
61b4d1e8de
commit
528c7f4871
7 changed files with 17 additions and 25 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue