mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Fix georeference core tests (b246998f6)
This commit is contained in:
@@ -23,6 +23,7 @@ from test.core.bootstrap import georeference, ifc
|
||||
class TestAddGeoreferencing:
|
||||
def test_run(self, georeference):
|
||||
georeference.add_georeferencing().should_be_called()
|
||||
georeference.set_model_origin().should_be_called()
|
||||
subject.add_georeferencing(georeference)
|
||||
|
||||
|
||||
@@ -35,9 +36,10 @@ class TestEnableEditingGeoreferencing:
|
||||
|
||||
|
||||
class TestRemoveGeoreferencing:
|
||||
def test_run(self, ifc):
|
||||
def test_run(self, ifc, georeference):
|
||||
ifc.run("georeference.remove_georeferencing").should_be_called()
|
||||
subject.remove_georeferencing(ifc)
|
||||
georeference.set_model_origin().should_be_called()
|
||||
subject.remove_georeferencing(ifc, georeference)
|
||||
|
||||
|
||||
class TestDisableEditingGeoreferencing:
|
||||
|
||||
Reference in New Issue
Block a user