From 78fe91413ae238366a4918e71397693855d7255e Mon Sep 17 00:00:00 2001 From: John Schoewe Date: Wed, 19 Feb 2025 11:03:30 -0500 Subject: [PATCH] Fixed files to work with latest CI updates --- CHANGES.md | 4 ++++ pack.yaml | 2 +- tests/test_sensu_handler.py | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 7182ce4..1e5db66 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Change Log +# 1.0.2 + +* Updated files to work with latest CI updates + # 1.0.1 * Fix duplicated "pack" key in rule definition. diff --git a/pack.yaml b/pack.yaml index 1eb892d..c5de9e9 100644 --- a/pack.yaml +++ b/pack.yaml @@ -6,7 +6,7 @@ keywords: - sensu - monitoring - alerting -version: 1.0.1 +version: 1.0.2 python_versions: - "3" author : StackStorm, Inc. diff --git a/tests/test_sensu_handler.py b/tests/test_sensu_handler.py index d11e825..a1b6cc2 100644 --- a/tests/test_sensu_handler.py +++ b/tests/test_sensu_handler.py @@ -3,7 +3,7 @@ import mock import requests import responses -import unittest2 +import unittest # XXX: This file uses a lot of globals and shared state. # We should definitely refactor this at some @@ -30,7 +30,7 @@ def raise_for_status(self): raise Exception(self.reason) -class SensuHandlerTestCase(unittest2.TestCase): +class SensuHandlerTestCase(unittest.TestCase): def test_st2_headers_token_auth(self): sensu_handler.IS_API_KEY_AUTH = False