From f711ff993dd47720d6f61482f072dada10df25da Mon Sep 17 00:00:00 2001 From: Kamforka Date: Tue, 22 Oct 2024 20:27:46 +0200 Subject: [PATCH] #359 - Upgrade test integrator to use v5.4.2 --- tests/conftest.py | 2 +- thehive4py/endpoints/case.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 155fae6..13c892b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -23,7 +23,7 @@ @pytest.fixture(scope="session") def test_config(): return TestConfig( - image_name="strangebee/thehive:5.3.6", + image_name="strangebee/thehive:5.4.2", container_name="thehive4py-integration-tester", user="admin@thehive.local", password="secret", diff --git a/thehive4py/endpoints/case.py b/thehive4py/endpoints/case.py index cc67134..e85ce26 100644 --- a/thehive4py/endpoints/case.py +++ b/thehive4py/endpoints/case.py @@ -55,6 +55,7 @@ def update( "convention like other update methods. Please use the `fields` " "argument to prevent breaking changes in the future.", category=DeprecationWarning, + stacklevel=2, ) fields = kwargs["case"]