diff --git a/tests/test_myt.py b/tests/test_myt.py index 9779d751..c74b510c 100644 --- a/tests/test_myt.py +++ b/tests/test_myt.py @@ -82,7 +82,9 @@ async def request( if match: response = self._load_from_file(os.path.join(data_files, "vehicles.json")) - match = re.match(r".*/vehicle/([^/]+)/\?.*services=fud,connected", endpoint) + match = re.match( + r"/vehicle/user/.*/vehicle/([^?]+)\?.*services=fud,connected", endpoint + ) if match: vin = match.group(1) response = self._load_from_file(