From a1de5ddb0857864303fc167925cc1b04b9b1475e Mon Sep 17 00:00:00 2001 From: MrSnapperVibes Date: Sun, 26 Nov 2023 12:27:47 -0500 Subject: [PATCH 1/3] IntelliJ fixes - Remove unused imports - Undefined name `index` --- tests/conftest.py | 3 +-- tests/test_stdlib_formatter.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 0d82c97..e8180f6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -20,7 +20,6 @@ import json import logging import os -import sys import elasticapm import pytest @@ -75,7 +74,7 @@ def validator(data_json): ) ) if v.get("index") and list(data.keys())[v.get("index")] != k: - raise ValidationError(f"Key {k} is not at index {index}") + raise ValidationError(f"Key {k} is not at index {v.get('index')}") return data_json diff --git a/tests/test_stdlib_formatter.py b/tests/test_stdlib_formatter.py index 18cf555..62bc41b 100644 --- a/tests/test_stdlib_formatter.py +++ b/tests/test_stdlib_formatter.py @@ -22,7 +22,6 @@ import json import time import random -import sys import ecs_logging from io import StringIO From e35e442ebe3a528e265f49567853f1bd9ccbc70d Mon Sep 17 00:00:00 2001 From: Colton Myers Date: Mon, 27 Nov 2023 15:14:23 -0700 Subject: [PATCH 2/3] trigger GitHub actions From 6393b5f3c927248fd3eb0b0864120712bdece35d Mon Sep 17 00:00:00 2001 From: Colton Myers Date: Tue, 28 Nov 2023 15:27:59 -0700 Subject: [PATCH 3/3] trigger GitHub actions second attempt