Skip to content

Commit

Permalink
[6.16.z] [pre-commit.ci] pre-commit autoupdate (#17262)
Browse files Browse the repository at this point in the history
  • Loading branch information
Satellite-QE authored Jan 7, 2025
1 parent e93dd88 commit 5964f60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion tests/robottelo/test_decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 5964f60

Please sign in to comment.