bimtester: parse ifcfile by behave user args

This commit is contained in:
Bernd Hahnebach
2021-01-14 15:45:11 +01:00
parent aefd4e3387
commit 21d4203688
5 changed files with 29 additions and 64 deletions
@@ -15,8 +15,11 @@ def before_all(context):
# get from userdata
userdata = context.config.userdata
context.ifcbasename = userdata["ifcbasename"]
context.localedir = userdata.get("localedir")
context.ifcfile = userdata["ifcfile"]
context.ifcbasename = os.path.basename(
os.path.splitext(context.ifcfile)[0]
)
# do not break after a failed scenario
# https://community.osarch.org/discussion/comment/3328/#Comment_3328