Skip to content

Commit

Permalink
use test reference schema for the yaml converter test
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrodelugas committed Feb 29, 2024
1 parent e343c69 commit 2fe4f34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ def test_yaml2qeinput_script(self):
self.assertTrue('Al001_relax_bfgs.in' in os.listdir(os.path.dirname(xml_filename)))
else:
if platform.system() == 'Linux':
command = 'python %s -in %s 1> /dev/null 2> /dev/null'
command = 'python %s -schema qes_test_ref.xsd -in %s 1> /dev/null 2> /dev/null'
else:
command = 'python3 %s -in %s 1> /dev/null 2> /dev/null'
command = 'python3 %s -schema qes_test_ref.xsd -in %s 1> /dev/null 2> /dev/null'

os.system(command % (py_filename, xml_filename))
self.assertTrue(os.path.isfile(in_filename),
Expand Down

0 comments on commit 2fe4f34

Please sign in to comment.