Skip to content

Commit 7169bb6

Browse files
Revert "fix: test redirect"
This reverts commit cf8eb71.
1 parent ac3015a commit 7169bb6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_WriteApi.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,7 @@ def test_redirect(self):
532532
Retry.DEFAULT.remove_headers_on_redirect = Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT
533533
self.influxdb_client.close()
534534

535-
retries = Retry(redirect=2)
536-
self.influxdb_client = InfluxDBClient(url="http://localhost", token="my-token", org="my-org", retries=retries)
535+
self.influxdb_client = InfluxDBClient(url="http://localhost", token="my-token", org="my-org")
537536

538537
httpretty.register_uri(httpretty.POST, uri="http://localhost2/api/v2/write", status=204)
539538
httpretty.register_uri(httpretty.POST, uri="http://localhost/api/v2/write", status=301,

0 commit comments

Comments
 (0)