Comments (1)
It seems that the following change is enough to fix this, but the this needs to be tested more thoroughly:
--- a/src/robot/running/arguments/argumentresolver.py
+++ b/src/robot/running/arguments/argumentresolver.py
@@ -56,9 +56,10 @@ class NamedArgumentResolver:
def resolve(self, arguments, variables=None):
spec = self.spec
- positional = list(arguments[:len(spec.embedded)])
+ positional_count = max(len(spec.positional_only), len(spec.embedded))
+ positional = list(arguments[:positional_count])
named = []
- for arg in arguments[len(spec.embedded):]:
+ for arg in arguments[positional_count:]:
if is_dict_variable(arg):
named.append(arg)
else:
from robotframework.
Related Issues (20)
- Robot libdoc generation for Resources folder into one document file HOT 1
- screenshot with alternative image formats (PNG?) HOT 5
- Authenticate Remote Library HOT 1
- How to package the robot file (.robot) from PyInstaller
- pretty-printy `Log Dictionary` option
- Process library run process modifies stdout
- Status of Robot Framework versions / Robot Framework release cycle HOT 4
- Wrong time format for the last "start" with merged suite results in RF7/rebot
- Enhance result package to expose generated attribute from output.xml
- Lists Should Be Equals Fails but status is PASS HOT 1
- Allow listeners to remove log messages altogether HOT 3
- Allow listeners to change execution status
- Python 3.13 compatibility HOT 15
- is Generate Random String method supports generating arabic letters HOT 2
- AttributeError: 'function' object has no attribute 'run_cli' HOT 6
- The description of the Method (end_keyword) is incorrect in Robot Framework user guide for Robot Listener Version 3 HOT 1
- Acceptance tests fail if directory path contains spaces HOT 1
- Asynchronous _loop_ref should using the existing event loop if one exists
- Unnecessary repetition when using VAR for already defined variable value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robotframework.