Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/python/bl_run_operators_event_simulate.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/python/bl_run_operators_event_simulate.py b/tests/python/bl_run_operators_event_simulate.py
index 1cc621b9684..adaacf6cd83 100644
--- a/tests/python/bl_run_operators_event_simulate.py
+++ b/tests/python/bl_run_operators_event_simulate.py
@@ -281,10 +281,10 @@ class action_handlers:
yield dict(type='RET', value='TAP')
@staticmethod
- def event(*, value, type, ctrl=False, alt=False, shift=False, repeat=1, only_validate=False):
+ def event(*, type, value, ctrl=False, alt=False, shift=False, repeat=1, only_validate=False):
"""
- value: The event, typically key, e.g. 'ESC', 'RET', 'SPACE', 'A'.
- type: The event type, valid values include: 'PRESS', 'RELEASE', 'TAP'.
+ type: The event, typically key, e.g. 'ESC', 'RET', 'SPACE', 'A'.
+ value: The event type, valid values include: 'PRESS', 'RELEASE', 'TAP'.
ctrl: Control modifier.
alt: Alt modifier.
shift: Shift modifier.