mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 06:21:40 +00:00
bimtester: improve imports in steps
This commit is contained in:
committed by
Dion Moult
parent
5ce334019c
commit
b88eb37bdf
@@ -1,6 +1,9 @@
|
|||||||
import json
|
import json
|
||||||
from behave import step
|
from behave import step
|
||||||
from utils import IfcFile, assert_attribute, assert_type
|
|
||||||
|
from utils import assert_attribute
|
||||||
|
from utils import assert_type
|
||||||
|
from utils import IfcFile
|
||||||
|
|
||||||
|
|
||||||
def get_classification(name):
|
def get_classification(name):
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
from behave import step
|
from behave import step
|
||||||
from utils import IfcFile, assert_attribute, assert_type
|
|
||||||
|
from utils import assert_attribute
|
||||||
|
from utils import assert_type
|
||||||
|
from utils import IfcFile
|
||||||
|
|
||||||
|
|
||||||
@step("The element {guid} is an {ifc_class} only")
|
@step("The element {guid} is an {ifc_class} only")
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
from behave import step
|
from behave import step
|
||||||
|
|
||||||
|
from utils import assert_attribute
|
||||||
from utils import IfcFile
|
from utils import IfcFile
|
||||||
from utils import IfcFile, assert_attribute
|
|
||||||
|
|
||||||
|
|
||||||
@step('The IFC file "{file}" must be provided')
|
@step('The IFC file "{file}" must be provided')
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
from behave import step
|
from behave import step
|
||||||
|
|
||||||
from utils import IfcFile
|
from utils import IfcFile
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user