Skip to content

Commit

Permalink
Move mongoexport.json to test_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
finngl committed Nov 23, 2023
1 parent 6425b85 commit 8ec28f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ def test_pipeline(self):
== True
)

command = "mongoexport --db bifrost_test_db --collection samples --pretty --out /home/finn/mongoexport.json"
command = \
f"mongoexport --db bifrost_test_db --collection samples --pretty --out {self.test_dir}/mongoexport.json"
process: subprocess.Popen = subprocess.Popen(
command, stdout=sys.stdout, stderr=sys.stderr, shell=True
)
Expand Down

0 comments on commit 8ec28f4

Please sign in to comment.