We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2f87ce commit bee20dfCopy full SHA for bee20df
tests/test_WriteApi.py
@@ -476,7 +476,7 @@ def test_connection_option_from_env(self):
476
def _check_connection_settings(self):
477
self.write_client = self.client.write_api(write_options=SYNCHRONOUS)
478
479
- self.assertEqual(os.environ("INFLUXDB_V2_URL"), self.client.url)
+ self.assertEqual(os.getenv("INFLUXDB_V2_URL"), self.client.url)
480
self.assertEqual("my-org", self.client.org)
481
self.assertEqual("my-token", self.client.token)
482
self.assertEqual(6000, self.client.timeout)
0 commit comments