remove bim.unlink_material #4843

This commit is contained in:
Andrej730
2024-06-11 18:01:09 +05:00
parent f803447651
commit 2fbac57faf
6 changed files with 0 additions and 32 deletions
@@ -59,15 +59,6 @@ Scenario: Remove material set
When I press "bim.remove_material_set(material={material})"
Then nothing happens
Scenario: Unlink material
Given an empty IFC project
And I add a cube
And the object "Cube" is selected
And I add a material
And I press "bim.add_material(obj='Material')"
When I press "bim.unlink_material"
Then the material "Material" is not an IFC material
Scenario: Assign material - single material
Given an empty IFC project
And I add a cube
@@ -20,12 +20,6 @@ import blenderbim.core.material as subject
from test.core.bootstrap import ifc, material, style, spatial
class TestUnlinkMaterial:
def test_run(self, ifc):
ifc.unlink(obj="obj").should_be_called()
subject.unlink_material(ifc, obj="obj")
class TestAddMaterial:
def test_add_a_default_material(self, ifc, material, style):
material.add_default_material_object("name").should_be_called().will_return("obj")