@@ -137,7 +137,7 @@ async def test_get_request(base_api: BaseApi, mock_session: AsyncMock) -> None:
137137 json = None ,
138138 headers = {
139139 "Content-Type" : "application/json" ,
140- "User-Agent" : f"TomTomApiPython/ { base_api . version } " ,
140+ "User-Agent" : "python/tomtom_apis " ,
141141 },
142142 )
143143 assert isinstance (response , Response )
@@ -157,7 +157,7 @@ async def test_get_request_with_gzip(base_api: BaseApi, mock_session: AsyncMock)
157157 json = None ,
158158 headers = {
159159 "Content-Type" : "application/json" ,
160- "User-Agent" : f"TomTomApiPython/ { base_api . version } " ,
160+ "User-Agent" : "python/tomtom_apis " ,
161161 "Accept-Encoding" : "gzip" ,
162162 },
163163 )
@@ -178,7 +178,7 @@ async def test_post_request(base_api: BaseApi, mock_session: AsyncMock) -> None:
178178 json = data .to_dict (),
179179 headers = {
180180 "Content-Type" : "application/json" ,
181- "User-Agent" : f"TomTomApiPython/ { base_api . version } " ,
181+ "User-Agent" : "python/tomtom_apis " ,
182182 },
183183 )
184184 assert isinstance (response , Response )
@@ -197,7 +197,7 @@ async def test_delete_request(base_api: BaseApi, mock_session: AsyncMock) -> Non
197197 json = None ,
198198 headers = {
199199 "Content-Type" : "application/json" ,
200- "User-Agent" : f"TomTomApiPython/ { base_api . version } " ,
200+ "User-Agent" : "python/tomtom_apis " ,
201201 },
202202 )
203203 assert isinstance (response , Response )
@@ -217,7 +217,7 @@ async def test_put_request(base_api: BaseApi, mock_session: AsyncMock) -> None:
217217 json = data .to_dict (),
218218 headers = {
219219 "Content-Type" : "application/json" ,
220- "User-Agent" : f"TomTomApiPython/ { base_api . version } " ,
220+ "User-Agent" : "python/tomtom_apis " ,
221221 },
222222 )
223223 assert isinstance (response , Response )
0 commit comments