test_file_action_with_values() is leaking its action and it is making test_tooltip() to fail on macOS:
[gw1] darwin -- Python 3.9.2 /Users/runner/work/nuxeo-drive/nuxeo-drive/.tox/base/bin/python def test_tooltip(): @tooltip("Testing tooltip!") def function(a, b=1): # There should be 1 action, automatically created by the decorator action = Action.get_current_action() assert action assert action.type == "Testing tooltip!" return a * b # There is no Action right now > assert Action.get_current_action() is None E AssertionError: assert Mocking('test.odt'[42]-100.0) is None E + where Mocking('test.odt'[42]-100.0) = <function Action.get_current_action at 0x108e51f70>() E + where <function Action.get_current_action at 0x108e51f70> = Action.get_current_action function = <function tooltip.<locals>.action_decorator.<locals>.func_wrapper at 0x109580a60> tests/unit/test_action.py:203: AssertionError
- is related to
-
NXDRIVE-1697 Add tests for the transfers pause/resume feature
- Resolved
- Is referenced in