mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 06:35:10 +02:00
Fix python 3.5 test
This commit is contained in:
@@ -162,7 +162,7 @@ async def test_cors_on_static_files(hass, hass_client):
|
||||
'cors_allowed_origins': ['http://www.example.com']
|
||||
}
|
||||
})
|
||||
hass.http.register_static_path('/something', Path(__file__).parent)
|
||||
hass.http.register_static_path('/something', str(Path(__file__).parent))
|
||||
|
||||
client = await hass_client()
|
||||
resp = await client.options('/something/__init__.py', headers={
|
||||
|
Reference in New Issue
Block a user