Skip to content

Commit

Permalink
fix: fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzyphysics committed Mar 30, 2024
1 parent 34ab952 commit 987aaf1
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/test_caly_evo_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def tearDown(self):
shutil.rmtree(i, ignore_errors=True)
for i in Path().glob("caly_task*"):
shutil.rmtree(i, ignore_errors=True)
shutil.rmtree("upload", ignore_errors=True)
# shutil.rmtree("upload", ignore_errors=True)

@unittest.skip("only need to run test_01")
def test_00(self):
Expand Down
4 changes: 2 additions & 2 deletions tests/test_dpgen_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@
)
from dpgen2.utils.step_config import normalize as normalize_step_dict

from .context import (
from context import (
default_host,
default_image,
skip_ut_with_dflow,
skip_ut_with_dflow_reason,
upload_python_packages,
)
from .mocked_ops import (
from mocked_ops import (
MockedCollectData,
MockedCollectDataCheckOptParam,
MockedCollectDataFailed,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_prep_run_caly.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
)
from dpgen2.utils.step_config import normalize as normalize_step_dict

from .mocked_ops import (
from mocked_ops import (
MockedCollRunCaly,
MockedRunCalyModelDevi,
MockedRunDPOptim,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_prep_run_dp_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
)
from dpgen2.utils.step_config import normalize as normalize_step_dict

from .mocked_ops import (
from mocked_ops import (
MockedModifyTrainScript,
MockedPrepDPTrain,
MockedRunDPTrain,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_prep_run_lmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
)
from dpgen2.utils.step_config import normalize as normalize_step_dict

from .mocked_ops import (
from mocked_ops import (
MockedRunLmp,
mocked_numb_models,
)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_prep_run_vasp.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
)
from dpgen2.utils.step_config import normalize as normalize_step_dict

from .mocked_ops import (
from mocked_ops import (
MockedPrepVasp,
MockedRunVasp,
mocked_incar_template,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_select_confs.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
SelectConfs,
)

from .mocked_ops import (
from mocked_ops import (
MockedConfSelector,
MockedExplorationReport,
MockedSelectConfs,
Expand Down

0 comments on commit 987aaf1

Please sign in to comment.