radis.test.io.test_hitran_cdsd moduleΒΆ
Test parsers.
Notes
Runs tests for radis/io so that they can be accessed by pytest (and hopefully the CI test suite)
Examples
Run all tests:
pytest (in command line, in project folder)
Run only fast tests (i.e: tests that have a βfastβ label):
pytest -m fast
- test_cache_regeneration(verbose=True, warnings=True, **kwargs)[source]ΒΆ
Checks that if a line database is manually updated (last edited time changes), its cache file will be regenerated automatically
- test_hitran_names_match(verbose=True, warnings=True, *args, **kwargs)[source]ΒΆ
Compare that HITRAN species defined in
radis.api.hitranapimatch the nomenclature dictionary :radis.api.hitranapi.trans.This should be ensured by developers when adding new species.
- test_irrelevant_file_loading(*args, **kwargs)[source]ΒΆ
check that irrelevant files (irrelevant wavenumber) are not loaded
- test_local_hitemp_file(verbose=True, warnings=True, **kwargs)[source]ΒΆ
Analyse some default files to make sure everything still works.