Loading tests/codec_be_to_accepted_release/constants.py +3329 −277 File changed.Preview size limit exceeded, changes collapsed. Show changes tests/codec_be_to_accepted_release/encoder/test_enc_const_br_ism.py +6 −4 Original line number Diff line number Diff line Loading @@ -29,7 +29,8 @@ the United Nations Convention on Contracts on the International Sales of Goods. """ from ..constants import ( ISM_PARAMS, ISM_PARAMS_ENC, ISM_PARAMS_ENC_REDUCED, ISM_MD_EXTENDED, ISM_MD_NULL, ) Loading @@ -38,16 +39,17 @@ from .. import get_testv_path, get_valid_fs_max_band_pairs def pytest_generate_tests(metafunc): param_string = "input_format,bitrate,dtx,md_type" reduction_level = metafunc.config.getoption("reduction_level") if reduction_level == "exhaustive": param_string = "input_format,bitrate,dtx,md_type" param_string_fs_mb = "sampling_rate,max_band" fs_mb_params = get_valid_fs_max_band_pairs() metafunc.parametrize(param_string_fs_mb, fs_mb_params) metafunc.parametrize(param_string, ISM_PARAMS) metafunc.parametrize(param_string, ISM_PARAMS_ENC) elif reduction_level == "reduced": raise NotImplementedError() param_string = "input_format,bitrate,dtx,md_type,sampling_rate,max_band" metafunc.parametrize(param_string, ISM_PARAMS_ENC_REDUCED) def test_enc_const_br_ism( Loading Loading
tests/codec_be_to_accepted_release/constants.py +3329 −277 File changed.Preview size limit exceeded, changes collapsed. Show changes
tests/codec_be_to_accepted_release/encoder/test_enc_const_br_ism.py +6 −4 Original line number Diff line number Diff line Loading @@ -29,7 +29,8 @@ the United Nations Convention on Contracts on the International Sales of Goods. """ from ..constants import ( ISM_PARAMS, ISM_PARAMS_ENC, ISM_PARAMS_ENC_REDUCED, ISM_MD_EXTENDED, ISM_MD_NULL, ) Loading @@ -38,16 +39,17 @@ from .. import get_testv_path, get_valid_fs_max_band_pairs def pytest_generate_tests(metafunc): param_string = "input_format,bitrate,dtx,md_type" reduction_level = metafunc.config.getoption("reduction_level") if reduction_level == "exhaustive": param_string = "input_format,bitrate,dtx,md_type" param_string_fs_mb = "sampling_rate,max_band" fs_mb_params = get_valid_fs_max_band_pairs() metafunc.parametrize(param_string_fs_mb, fs_mb_params) metafunc.parametrize(param_string, ISM_PARAMS) metafunc.parametrize(param_string, ISM_PARAMS_ENC) elif reduction_level == "reduced": raise NotImplementedError() param_string = "input_format,bitrate,dtx,md_type,sampling_rate,max_band" metafunc.parametrize(param_string, ISM_PARAMS_ENC_REDUCED) def test_enc_const_br_ism( Loading