diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7b0685ef4cf..c0240f68b7e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: - id: check-yaml - id: debug-statements - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.4 + rev: v0.8.6 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/tests/robottelo/test_decorators.py b/tests/robottelo/test_decorators.py index f4b2243461f..f5f9273d21d 100644 --- a/tests/robottelo/test_decorators.py +++ b/tests/robottelo/test_decorators.py @@ -34,7 +34,7 @@ def test_create_and_not_add_to_cache(self, make_foo): def test_build_cache(self, make_foo): """Create a new object and add it to the cache.""" obj = make_foo(cached=True) - assert {'foo': {'id': 42}} == decorators.OBJECT_CACHE + assert decorators.OBJECT_CACHE == {'foo': {'id': 42}} assert id(decorators.OBJECT_CACHE['foo']) == id(obj) def test_return_from_cache(self, make_foo):