You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When some error occurs it typically shows the path of the script that called scenarios and name of the scenario. Is there a way to make it also show feature name or feature tag?
FAILED test/bim/test_feature.py::test_remove_drawing__deleting_active_drawing - AssertionError: Failed to run operator bpy.ops.bim.override_object_delete because of Error: Python: Traceback (most...
In my case I use "feature" folder to store all .feature files.
frompytest_bddimportscenariosscenarios("feature")
And all .feature files have matching name and tag, e.g. drawing.feature:
@drawing
Feature: Drawing
Scenario: Duplicate drawing
Given an empty IFC project
And I add a cube
And the object "Cube" is selected
And I set "scene.BIMRootProperties.ifc_product" to "IfcElement"
And I set "scene.BIMRootProperties.ifc_class" to "IfcWall"
And I press "bim.assign_class"
And the variable "wall1" is "IfcStore.get_file().by_type('IfcWall')[-1].id()"
And I press "bim.add_drawing"
And the variable "drawing" is "IfcStore.get_file().by_type('IfcAnnotation')[0].id()"
When I press "bim.duplicate_drawing(drawing={drawing})"
Then nothing happens
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When some error occurs it typically shows the path of the script that called
scenarios
and name of the scenario. Is there a way to make it also show feature name or feature tag?In my case I use "feature" folder to store all .feature files.
And all .feature files have matching name and tag, e.g. drawing.feature:
Beta Was this translation helpful? Give feedback.
All reactions