Skip to content

Commit

Permalink
Fix #21
Browse files Browse the repository at this point in the history
  • Loading branch information
tkokada committed Jul 27, 2022
1 parent 1d6e85f commit 44c5afc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/resumption/resumption_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import aiaccel
import aiaccel.util.filesystem as fs
import asyncio
import pathlib
import sys
import time

Expand Down Expand Up @@ -42,12 +43,15 @@ def test_run(self, cd_work, data_dir, work_dir):
config_file = data_dir.joinpath(
'config_{}.json'.format(self.search_algorithm)
)
dict_resume = sorted(
[f for f in list(work_dir.joinpath(aiaccel.dict_state).iterdir()) if pathlib.Path.is_dir(f)]
)[-1].name
commandline_args = [
"start.py",
"--config",
format(config_file),
"--resume",
"5"
dict_resume
]
run_master(commandline_args, work_dir)
final_result_resumption = get_final_result(work_dir)
Expand Down

0 comments on commit 44c5afc

Please sign in to comment.