Commit 7401270c authored by TYAGIRIS's avatar TYAGIRIS
Browse files

minor fixes in pytest

parent fe4f7430
Loading
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -46,9 +46,8 @@ tag_list = ['stvFOA']
plc_patterns = ['PLperc12mblen5', 'PLperc40mblen50', 'PLperc42mblen2']
dtx_set = ['0', '1']
ivas_br_list = ['13200','16400','32000', '64000', '96000', '256000']
ivas_br_list_1 = ['13200','16400','24400','32000', '64000', '96000', '256000']
sampling_rate_list = ['48', '32', '16']
gain_list = [-1, 0, 1]
gain_list = [0, 1]

AbsTol = '0'

@@ -69,7 +68,7 @@ def check_and_makedir(dir_path):
# -> the reference generation for this test (reference decoder output) needs to be done after completion of test_sba_enc_system
#    -> therefore the marker create_ref_part2
@pytest.mark.create_ref_part2
@pytest.mark.parametrize("ivas_br", ivas_br_list_1)
@pytest.mark.parametrize("ivas_br", ivas_br_list)
@pytest.mark.parametrize("dtx", dtx_set)
@pytest.mark.parametrize("tag", tag_list)
@pytest.mark.parametrize("plc_pattern", plc_patterns)
+2 −3
Original line number Diff line number Diff line
@@ -57,11 +57,10 @@ dict_bw_tag = {'SWB': '_ForceSWB', 'WB': '_ForceWB'}
ivas_br_FOA = ['13200','16400','32000','64000', '96000', '160000', '256000', '384000', '512000','sw_24k4_256k.bin']
ivas_br_HOA2 = ['256000', '384000', '512000']
ivas_br_HOA3 = ['256000', '384000', '512000']
ivas_br_list_1 = ['13200','16400','24400','32000','64000', '96000', '160000', '256000', '384000', '512000','sw_24k4_256k.bin']

sample_rate_list = ['48', '32', '16']
bypass_list = [1, 2]
gain_list = [-1, 0, 1]
gain_list = [0, 1]

sample_rate_bw_idx_list = [('48', 'SWB'), ('48', 'WB'), ('32', 'WB')]

@@ -148,7 +147,7 @@ def test_bypass_enc(


@pytest.mark.create_ref
@pytest.mark.parametrize("ivas_br", ivas_br_list_1)
@pytest.mark.parametrize("ivas_br", ivas_br_FOA)
@pytest.mark.parametrize("dtx", dtx_set)
@pytest.mark.parametrize("tag", tag_list)
@pytest.mark.parametrize("fs", sample_rate_list)