You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ride does not display the correct default values for library keywords in usage #2134
RobotFramework: 3.2b1
ride: 1.7.4.1
Python 2.7.5 on Centos 7
I have a library that has been imported into a test suite that is using some default values for arguments. When I try to get the usage in ride by either typing in the library name followed by CTRL or by entering in the keyword name in ride, hovering over it and select CTRL, the usage shows argument names as the default value rather than the actual default value. The function works correctly and does use the default values.
Here is a sample library that will exhibit the issue:
#! /usr/bin/env python
import time
import sys
import os
from robot.api import logger
from robot.libraries.BuiltIn import BuiltIn
from robot.libraries.OperatingSystem import OperatingSystem
from robot.api.deco import library
class test_library2:
ROBOT_LIBRARY_SCOPE = 'GLOBAL'
ROBOT_LIBRARY_VERSION = '3.1.2'
The function prints out the arguments and they are shown correctly in the output:
20200204 11:51:14.442 : INFO : arg1: test1, arg2: test2, arg3: None, arg4: True
Activity
moliveras commentedon Feb 4, 2020
moliveras commentedon Feb 4, 2020
The function prints out the arguments and they are shown correctly in the output:
20200204 11:51:14.442 : INFO : arg1: test1, arg2: test2, arg3: None, arg4: True
Fixes default arguments keyword help, robotframework#2134
Fixes default arguments keyword help, robotframework#2134
Fixes default arguments keyword help, #2134 (#2157)
HelioGuilherme66 commentedon Mar 6, 2020
Fixed by #2157
@moliveras Very easy fix that you can apply on your python 2.7 installation.
moliveras commentedon Mar 9, 2020
Thank you @HelioGuilherme66 !
Separates AppendText for MessagesLog. Adds process memory limit on Me… (
Sync with upstreem (#1)
Bug fixing on perference panel (#2220)