mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +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:
|
class TestAddGeoreferencing:
|
||||||
def test_run(self, georeference):
|
def test_run(self, georeference):
|
||||||
georeference.add_georeferencing().should_be_called()
|
georeference.add_georeferencing().should_be_called()
|
||||||
|
georeference.set_model_origin().should_be_called()
|
||||||
subject.add_georeferencing(georeference)
|
subject.add_georeferencing(georeference)
|
||||||
|
|
||||||
|
|
||||||
@@ -35,9 +36,10 @@ class TestEnableEditingGeoreferencing:
|
|||||||
|
|
||||||
|
|
||||||
class TestRemoveGeoreferencing:
|
class TestRemoveGeoreferencing:
|
||||||
def test_run(self, ifc):
|
def test_run(self, ifc, georeference):
|
||||||
ifc.run("georeference.remove_georeferencing").should_be_called()
|
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:
|
class TestDisableEditingGeoreferencing:
|
||||||
|
|||||||
Reference in New Issue
Block a user