Skip to content

Commit

Permalink
SOF-6892: implement integration test for hp.x output parser
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Nov 1, 2023
1 parent 3365577 commit 0b3e931
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,4 @@ ENV/
.mypy_cache/

.idea/
.DS_Store
4 changes: 2 additions & 2 deletions tests/fixtures/espresso/references.py
Git LFS file not shown
Git LFS file not shown
3 changes: 3 additions & 0 deletions tests/integration/parsers/apps/espresso/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ def test_espresso_phonon_dos(self):

def test_espresso_phonon_dispersion(self):
self.assertDeepAlmostEqual(self.parser.phonon_dispersions(), PHONON_DISPERSIONS, places=2)

def test_espresso_hubbard_parameters(self):
self.assertDeepAlmostEqual(self.parser.hubbard_parameters(), HUBBARD_PARAMS, places=2)
4 changes: 4 additions & 0 deletions tests/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,7 @@ test_material_from_structure:
test_material_serialize_and_validate:
workDir: fixtures/vasp/test-001
stdoutFile: fixtures/vasp/test-001/vasp.out

test_espresso_hubbard_parameters:
workDir: fixtures/espresso/test-004
stdoutFile: fixtures/espresso/test-004/__prefix__.Hubbard_parameters.dat

0 comments on commit 0b3e931

Please sign in to comment.