Skip to content

Commit

Permalink
remove inf loop workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
petrkalos committed Dec 3, 2024
1 parent d9fcfa2 commit e65674c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1162,10 +1162,6 @@ def mock_input_validation(mocker):
return_value='MANAGE_ENVIRONMENTS',
)
mocker.patch('dataall.modules.shares_base.api.resolvers.RequestValidator', MagicMock())
# workaround infinite loop when checking GlossaryResourceAccess.is_owner()
mocker.patch(
'dataall.modules.catalog.db.glossary_repositories.GlossaryRepository.get_node'
).side_effect = RuntimeError
# mock aws calls for speed
mocker.patch('dataall.base.aws.sts.SessionHelper._get_parameter_value')
mocker.patch('dataall.base.aws.sts.SessionHelper.remote_session')
Expand Down

0 comments on commit e65674c

Please sign in to comment.