We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
write_port_overwrite
1 parent 5f968d3 commit 2190152Copy full SHA for 2190152
tests/test_influxdb_client_3.py
@@ -67,6 +67,14 @@ def test_token_auth_scheme_explicit(self):
67
)
68
self.assertEqual(client._client.auth_header_value, "my_scheme my_token")
69
70
+ def test_write_port_overwrite(self):
71
+ with InfluxDBClient3(
72
+ host="http://localhost:8080",
73
+ write_port_overwrite=8086,
74
+ token="my_token",
75
+ ) as client:
76
+ self.assertEqual(client._client.url,"http://localhost:8086")
77
+
78
def test_write_options(self):
79
client = InfluxDBClient3(
80
host="localhost",
0 commit comments