8000
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.
1 parent 79e4fb2 commit 317497bCopy full SHA for 317497b
tests/influxdb/client_test.py
@@ -732,3 +732,13 @@ def test_dsn_password_caps(self):
732
cli = InfluxDBClusterClient.from_DSN(
733
'https+influxdb://usr:pWd@host:8086/db')
734
self.assertEqual('pWd', cli.clients[0]._password)
735
+
736
+ def test_dsn_mixed_scheme_case(self):
737
+ cli = InfluxDBClusterClient.from_DSN(
738
+ 'hTTps+inFLUxdb://usr:pWd@host:8086/db')
739
+ self.assertEqual('pWd', cli.clients[0]._password)
740
+ self.assertEqual('https://host:8086', cli.clients[0]._baseurl)
741
742
743
+ 'uDP+influxdb://usr:pwd@host1:8086,usr:pwd@host2:8086/db')
744
+ self.assertTrue(cli.clients[0].use_udp)
0 commit comments