From 4c816f7682c2cfbb79819100106bd281d830ca86 Mon Sep 17 00:00:00 2001 From: Jake Ichikawa Date: Wed, 19 Jun 2024 15:27:22 -0700 Subject: [PATCH] Add log_file_path property. --- tests/integration/integ_test_base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/integ_test_base.py b/tests/integration/integ_test_base.py index 330fbe84..d055d14e 100755 --- a/tests/integration/integ_test_base.py +++ b/tests/integration/integ_test_base.py @@ -225,7 +225,8 @@ def setUp(self): # Platform specific - for integration tests we want to engage # startup script - with open(self.tmp_dir + "/output.txt", "w") as outfile: + self.log_file_path = os.path.join(self.tmp_dir, "output.txt") + with open(self.log_file_path, "w") as outfile: cmd = ["tabpy", "--config=" + self.config_file_name, "--disable-auth-warning"] preexec_fn = None if platform.system() == "Windows":