Skip to content

Commit a79256f

Browse files
committed
Fix ai suggestion
1 parent e4311af commit a79256f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

unit_tests/sources/declarative/decoders/test_composite_decoder.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,8 @@ def test_composite_raw_decoder_csv_parser_without_mocked_response():
226226
httpd = HTTPServer(("localhost", 8080), TestServer)
227227
thread = Thread(target=httpd.serve_forever, args=())
228228
thread.start()
229-
thread.start()
230229
try:
231-
response = requests.get(f"http://localhost:{port}", stream=True)
230+
response = requests.get(f"http://localhost:8080", stream=True)
232231
result = list(CompositeRawDecoder(parser=CsvParser()).decode(response))
233232

234233
assert len(result) == 1

0 commit comments

Comments
 (0)