Skip to content

Commit d8e335d

Browse files
committed
Fix tests for windwos.
1 parent 9049e4f commit d8e335d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/io/vasp/test_outputs.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,11 @@ def test_standard(self):
326326
assert dct["nelements"] == 4
327327

328328
entry = vasp_run.get_computed_entry(inc_structure=True)
329-
330-
assert entry.entry_id == "vasprun-20100729-15.0-5360923159595666479"
329+
entry_id_toks = entry.entry_id.split("-")
330+
assert len(entry_id_toks) == 4
331+
assert entry_id_toks[0] == "vasprun"
332+
assert entry_id_toks[1] == "20100729"
333+
assert entry_id_toks[2] == "15.0"
331334

332335
assert entry.parameters["run_type"] == "PBEO or other Hybrid Functional"
333336

0 commit comments

Comments
 (0)