From 9014a970eafce329f3329be6e276995e0a23867b Mon Sep 17 00:00:00 2001 From: aaron-kulkarni <107003644+aaron-kulkarni@users.noreply.github.com> Date: Thu, 11 Jul 2024 20:47:38 +0000 Subject: [PATCH] fix(analyses-snapshot-testing): snapshot failure capture --- ..._v2_16_NO_PIPETTES_AccessToFixedTrashProp].json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/analyses-snapshot-testing/tests/__snapshots__/analyses_snapshot_test/test_analysis_snapshot[a9557d762c][Flex_X_v2_16_NO_PIPETTES_AccessToFixedTrashProp].json b/analyses-snapshot-testing/tests/__snapshots__/analyses_snapshot_test/test_analysis_snapshot[a9557d762c][Flex_X_v2_16_NO_PIPETTES_AccessToFixedTrashProp].json index b316741d29b..60a0f1c77a3 100644 --- a/analyses-snapshot-testing/tests/__snapshots__/analyses_snapshot_test/test_analysis_snapshot[a9557d762c][Flex_X_v2_16_NO_PIPETTES_AccessToFixedTrashProp].json +++ b/analyses-snapshot-testing/tests/__snapshots__/analyses_snapshot_test/test_analysis_snapshot[a9557d762c][Flex_X_v2_16_NO_PIPETTES_AccessToFixedTrashProp].json @@ -24,7 +24,7 @@ "errors": [ { "createdAt": "TIMESTAMP", - "detail": "APIVersionError [line 15]: Fixed Trash is not supported on Flex protocols in API Version 2.16 and above.", + "detail": "UnsupportedAPIError [line 15]: Error 4002 API_REMOVED (UnsupportedAPIError): Fixed Trash is not available after API version 2.16. You are currently using API version 2.16. Fixed trash is no longer supported on Flex protocols.", "errorCode": "4000", "errorInfo": {}, "errorType": "ExceptionInProtocolError", @@ -33,14 +33,14 @@ "wrappedErrors": [ { "createdAt": "TIMESTAMP", - "detail": "opentrons.protocols.api_support.util.APIVersionError: Fixed Trash is not supported on Flex protocols in API Version 2.16 and above.", - "errorCode": "4000", + "detail": "Fixed Trash is not available after API version 2.16. You are currently using API version 2.16. Fixed trash is no longer supported on Flex protocols.", + "errorCode": "4002", "errorInfo": { - "args": "('Fixed Trash is not supported on Flex protocols in API Version 2.16 and above.',)", - "class": "APIVersionError", - "traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_python.py\", line N, in exec_run\n exec(\"run(__context)\", new_globs)\n\n File \"\", line N, in \n\n File \"Flex_X_v2_16_NO_PIPETTES_AccessToFixedTrashProp.py\", line N, in run\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/api_support/util.py\", line N, in _check_version_wrapper\n return decorated_obj(*args, **kwargs)\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/protocol_context.py\", line N, in fixed_trash\n raise APIVersionError(\n" + "current_version": "2.16", + "identifier": "Fixed Trash", + "since_version": "2.16" }, - "errorType": "PythonException", + "errorType": "UnsupportedAPIError", "id": "UUID", "isDefined": false, "wrappedErrors": []