mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Fix python 3.5 test
This commit is contained in:
parent
1c3e5988db
commit
0df1bb5029
@ -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={
|
||||
|
Loading…
x
Reference in New Issue
Block a user