@@ -0,0 +1,797 @@
+import pytest%0Aimport os%0Afrom simulators.tcm_module import (tcm_helper_function)%0Aimport simulators%0A%0A@pytest.mark.xfail()%0Adef test_save_pd_cvs(tmpdir):%0A    assert 0%0A%0A@pytest.mark.parametrize(%22star, obs, chip%22, %5B%0A    (%22HD30501%22, 1, 1),%0A    (%22HD4747%22, %22a%22, 4)%5D)%0Adef test_tcm_helper_function(star, obs, chip):%0A    obs_name, params, output_prefix = tcm_helper_function(star, obs, chip)%0A%0A    assert isinstance(obs_name, str)%0A    assert isinstance(output_prefix, str)%0A    assert simulators.paths%5B%22spectra%22%5D in obs_name%0A    assert %22-mixavg-tellcorr_%22 in obs_name%0A    assert str(star) in obs_name%0A    assert str(obs) in obs_name%0A    assert str(chip) in obs_name%0A    assert os.path.join(star, star) in output_prefix%0A    assert %22tcm_chisqr_results%22 in output_prefix%0A    assert params%5B%22name%22%5D == star.lower()%0A%0A

test tcm helper function