diff --git a/src/python_testing/TC_CADMIN_1_3_4.py b/src/python_testing/TC_CADMIN_1_3_4.py index d2566d836ec29c..50646e4d760f33 100644 --- a/src/python_testing/TC_CADMIN_1_3_4.py +++ b/src/python_testing/TC_CADMIN_1_3_4.py @@ -351,7 +351,8 @@ async def test_TC_CADMIN_1_4(self): try: th2_cam_rcac = TLVReader(base64.b64decode( self.certificate_authority_manager.activeCaList[3]._persistentStorage._jsonData["sdk-config"]["f/4/r"])).get()["Any"][9] - except: + + except IndexError: th2_cam_rcac = TLVReader(base64.b64decode( self.certificate_authority_manager.activeCaList[2]._persistentStorage._jsonData["sdk-config"]["f/3/r"])).get()["Any"][9]