iodata.test.test_molekel module

Test iodata.formats.molekel module.

check_load_dump_consistency(fn, tmpdir, match=None)[source]

Check if data is preserved after dumping and loading a Molekel file.

Parameters:
  • fn (str) – The Molekel filename to load

  • tmpdir (str) – The temporary directory to dump and load the file.

  • match (Optional[str]) – When given, loading the file is expected to raise a warning whose message string contains match.

compare_mols_diff_formats(mol1, mol2)[source]

Compare two IOData objects loaded from different formats.

test_generalized()[source]
test_load_dump_consistency(tmpdir, path, match)[source]
test_load_mkl_ethanol()[source]
test_load_mkl_h2()[source]
test_load_mkl_h2_huge_threshold()[source]
test_load_mkl_li2()[source]