mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +00:00
bimtester: small code improvements
This commit is contained in:
@@ -3,6 +3,10 @@ from behave.model import Scenario
|
||||
|
||||
def before_all(context):
|
||||
userdata = context.config.userdata
|
||||
context.ifcbasename = userdata["ifcbasename"]
|
||||
context.localedir = userdata.get("localedir")
|
||||
|
||||
# do not break after a failed scenario
|
||||
# https://community.osarch.org/discussion/comment/3328/#Comment_3328
|
||||
continue_after_failed = userdata.getbool("runner.continue_after_failed_step", True)
|
||||
Scenario.continue_after_failed_step = continue_after_failed
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import gettext
|
||||
import os
|
||||
from behave import step, given
|
||||
import gettext # noqa
|
||||
from behave import given
|
||||
from behave import step
|
||||
|
||||
from ifcdata_methods import assert_schema
|
||||
from utils import IfcFile
|
||||
|
||||
Reference in New Issue
Block a user