Commit 88e0384 1 parent 3524822 commit 88e0384 Copy full SHA for 88e0384
File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -470,9 +470,7 @@ def tearDown(self) -> None:
470
470
471
471
def test_connection_option_from_conf_file (self ):
472
472
self .client .close ()
473
- print (os .getcwd ())
474
- os .chdir ("../tests" )
475
- self .client = InfluxDBClient .from_config_file (os .getcwd () + "/config.ini" , self .debug )
473
+ self .client = InfluxDBClient .from_config_file (os .getcwd () + "/tests/config.ini" , self .debug )
476
474
477
475
self ._check_connection_settings ()
478
476
@@ -492,8 +490,7 @@ def _check_connection_settings(self):
492
490
493
491
def test_default_tags_from_conf_file (self ):
494
492
self .client .close ()
495
- os .chdir ("../tests" )
496
- self .client = InfluxDBClient .from_config_file (os .getcwd () + "/config.ini" , self .debug )
493
+ self .client = InfluxDBClient .from_config_file (os .getcwd () + "/tests/config.ini" , self .debug )
497
494
498
495
self ._write_point ()
499
496
You can’t perform that action at this time.
0 commit comments