mirror of
https://github.com/home-assistant/core.git
synced 2025-12-23 12:29:55 +00:00
Upgrade restrictedpython to 4.0b2 (#10179)
* Upgrade restrictedpython to 4.0b2 * Update test
This commit is contained in:
committed by
Paulus Schoutsen
parent
fc44a4ed99
commit
2891b0cb2e
@@ -47,7 +47,8 @@ def test_setup_fails_on_no_dir(hass, caplog):
|
||||
res = yield from async_setup_component(hass, 'python_script', {})
|
||||
|
||||
assert not res
|
||||
assert 'Folder python_scripts not found in config folder' in caplog.text
|
||||
assert 'Folder python_scripts not found in configuration folder' in \
|
||||
caplog.text
|
||||
|
||||
|
||||
@asyncio.coroutine
|
||||
|
||||
Reference in New Issue
Block a user