Skip to content

Commit 80e2563

Browse files
committed
fix serial tests
1 parent 4bdf521 commit 80e2563

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/task_scheduler/file/test_serial.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ def test_executor_dependence_error(self):
7474
fs.result()
7575

7676
def test_executor_working_directory(self):
77-
cwd = os.path.join(os.path.dirname(__file__), "..", "..", "executables")
77+
cwd = os.path.join(os.path.dirname(__file__), "..", "..", "..", "static")
7878
with FileTaskScheduler(
7979
resource_dict={"cwd": cwd}, execute_function=execute_in_subprocess
8080
) as exe:
8181
fs1 = exe.submit(list_files_in_working_directory)
8282
self.assertEqual(fs1.result(), os.listdir(cwd))
8383

8484
def test_executor_error(self):
85-
cwd = os.path.join(os.path.dirname(__file__), "..", "..", "executables")
85+
cwd = os.path.join(os.path.dirname(__file__), "..", "..", "..", "static")
8686
with FileTaskScheduler(
8787
resource_dict={"cwd": cwd}, execute_function=execute_in_subprocess
8888
) as exe:
@@ -92,7 +92,7 @@ def test_executor_error(self):
9292
self.assertEqual(len(os.listdir(cwd)), 1)
9393

9494
def test_executor_error_file(self):
95-
cwd = os.path.join(os.path.dirname(__file__), "..", "..", "executables")
95+
cwd = os.path.join(os.path.dirname(__file__), "..", "..", "..", "static")
9696
with FileTaskScheduler(
9797
resource_dict={"cwd": cwd, "error_log_file": "error.out"},
9898
execute_function=execute_in_subprocess

0 commit comments

Comments
 (0)