Skip to content

Commit

Permalink
nosemgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
petrkalos committed Dec 4, 2024
1 parent 6170b9d commit 263b781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ def test_permissions(
iargs = {arg: MagicMock() for arg in inspect.signature(field.resolver).parameters.keys()}

# run test specific setup if required
globals().get(f'setup_{fid}', lambda *_a, **b: None)(**locals())
globals().get(f'setup_{fid}', lambda *_a, **b: None)(**locals()) # nosemgrep

with suppress(Exception):
field.resolver(**iargs)
Expand Down

0 comments on commit 263b781

Please sign in to comment.