From 0df1bb50294587d719d31a72a3fc608d96fd50d7 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 26 Jul 2019 16:15:46 -0700 Subject: [PATCH] Fix python 3.5 test --- tests/components/http/test_cors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/components/http/test_cors.py b/tests/components/http/test_cors.py index 46a2766e541..7ce3d600ee7 100644 --- a/tests/components/http/test_cors.py +++ b/tests/components/http/test_cors.py @@ -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={