Skip to content

Commit 2614a45

Browse files
authored
Merge pull request #34 from JFoederer/RF7.3-compatibility
Robot Framework 7.3 compatibility
2 parents 33c0086 + 5b4b689 commit 2614a45

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77

88
[project]
99
name = "robotframework-mbt"
10-
version = "0.7.0"
10+
version = "0.8.0"
1111
description = "Model-Based Testing in Robot framework with test case generation"
1212
readme = "README.md"
1313
authors = [{ name = "Johan Foederer", email = "github@famfoe.nl" }]
@@ -19,7 +19,7 @@ classifiers = [
1919
]
2020
keywords = ["robotframework", "robot", "mbt", "bdd", "testing"]
2121
dependencies = [
22-
"robotframework >= 7.1",
22+
"robotframework >= 7.3",
2323
]
2424
requires-python = ">=3.10"
2525

robotmbt/suitedata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def add_robot_dependent_data(self, robot_kw):
178178
raise ValueError(robot_kw.error)
179179
if robot_kw.embedded:
180180
self.emb_args = StepArguments([StepArgument(*match) for match in
181-
zip(robot_kw.embedded.args, robot_kw.embedded.match(self.kw_wo_gherkin).groups())])
181+
zip(robot_kw.embedded.args, robot_kw.embedded.parse_args(self.kw_wo_gherkin))])
182182
self.signature = robot_kw.name
183183
self.model_info = self.__parse_model_info(robot_kw._doc)
184184
except Exception as ex:

robotmbt/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '0.7.0'
1+
VERSION = '0.8.0'

utest/test_suitedata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def __init__(self):
406406
self._doc = "*model info*\n:IN: None\n:OUT: None"
407407
self.error = False
408408
self.embedded = SimpleNamespace(args=['${foo}', '${bar}'],
409-
match= lambda _: SimpleNamespace(groups=lambda: ['foo_value', 'bar_value']))
409+
parse_args= lambda _: ['foo_value', 'bar_value'])
410410

411411

412412
if __name__ == '__main__':

0 commit comments

Comments
 (0)