Skip to content

Commit

Permalink
use local_files param for Local*Reference object instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
JunAishima committed Mar 4, 2024
1 parent 17a5093 commit d967239
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions amostra/test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"timezone": "US/Eastern",
"mongo_user": "tom",
"mongo_pwd": "jerry",
"local_files": "~/amostra_files",
"local_files": "/tmp/amostra_files",
}


Expand Down Expand Up @@ -65,7 +65,7 @@ def amostra_local_container(request):
os.mkdir(usr_path)
except FileExistsError:
pass
local_container = LocalContainerReference()
local_container = LocalContainerReference(top_dir=testing_config["local_files"])

def clear_files():
try:
Expand All @@ -84,7 +84,7 @@ def amostra_local_request(request):
os.mkdir(usr_path)
except FileExistsError:
pass
local_request = LocalRequestReference()
local_request = LocalRequestReference(top_dir=testing_config["local_files"])

def clear_files():
try:
Expand All @@ -103,7 +103,7 @@ def amostra_local_sample(request):
os.mkdir(usr_path)
except FileExistsError:
pass
local_sample = LocalSampleReference()
local_sample = LocalSampleReference(top_dir=testing_config["local_files"])

def clear_files():
try:
Expand Down

0 comments on commit d967239

Please sign in to comment.