Skip to content

Commit

Permalink
Merge pull request #586 from heyinling/fix-parsing_section_header_errors
Browse files Browse the repository at this point in the history
Fix error when running non-English robot case files
  • Loading branch information
mkorpela authored Nov 30, 2024
2 parents a864e57 + d5910ca commit 671be1a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/pabot/pabot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1152,14 +1152,15 @@ def generate_suite_names_with_builder(outs_dir, datasources, options):
settings = RobotSettings(opts)

# Note: first argument (included_suites) is deprecated from RobotFramework 6.1
if ROBOT_VERSION < "6.1":
if ROBOT_VERSION >= "6.1":
builder = TestSuiteBuilder(
settings["SuiteNames"], settings.extension, rpa=settings.rpa
included_extensions=settings.extension, rpa=settings.rpa, lang=opts.get("language")
)
else:
builder = TestSuiteBuilder(
included_extensions=settings.extension, rpa=settings.rpa
)
settings["SuiteNames"], settings.extension, rpa=settings.rpa
)

suite = builder.build(*datasources)
settings.rpa = builder.rpa
suite.configure(**settings.suite_config)
Expand Down

0 comments on commit 671be1a

Please sign in to comment.