mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 20:50:02 +00:00
Correct xsi:schemaLocation
This commit is contained in:
@@ -81,7 +81,7 @@ class Ids:
|
|||||||
"@xmlns": "http://standards.buildingsmart.org/IDS",
|
"@xmlns": "http://standards.buildingsmart.org/IDS",
|
||||||
"@xmlns:xs": "http://www.w3.org/2001/XMLSchema",
|
"@xmlns:xs": "http://www.w3.org/2001/XMLSchema",
|
||||||
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
||||||
"@xsi:schemaLocation": "http://standards.buildingsmart.org/IDS/0.9.6/ids.xsd",
|
"@xsi:schemaLocation": "http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/0.9.6/ids.xsd",
|
||||||
"info": self.info,
|
"info": self.info,
|
||||||
"specifications": {"specification": []},
|
"specifications": {"specification": []},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,11 +48,12 @@ class TestIds:
|
|||||||
|
|
||||||
def test_create_an_ids_with_minimal_information(self):
|
def test_create_an_ids_with_minimal_information(self):
|
||||||
specs = ids.Ids()
|
specs = ids.Ids()
|
||||||
|
print('AAA', specs.asdict())
|
||||||
assert specs.asdict() == {
|
assert specs.asdict() == {
|
||||||
"@xmlns": "http://standards.buildingsmart.org/IDS",
|
"@xmlns": "http://standards.buildingsmart.org/IDS",
|
||||||
"@xmlns:xs": "http://www.w3.org/2001/XMLSchema",
|
"@xmlns:xs": "http://www.w3.org/2001/XMLSchema",
|
||||||
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
||||||
"@xsi:schemaLocation": "http://standards.buildingsmart.org/IDS/0.9.6/ids.xsd",
|
"@xsi:schemaLocation": "http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/0.9.6/ids.xsd",
|
||||||
"info": {"title": "Untitled"},
|
"info": {"title": "Untitled"},
|
||||||
"specifications": {"specification": []},
|
"specifications": {"specification": []},
|
||||||
}
|
}
|
||||||
@@ -72,7 +73,7 @@ class TestIds:
|
|||||||
"@xmlns": "http://standards.buildingsmart.org/IDS",
|
"@xmlns": "http://standards.buildingsmart.org/IDS",
|
||||||
"@xmlns:xs": "http://www.w3.org/2001/XMLSchema",
|
"@xmlns:xs": "http://www.w3.org/2001/XMLSchema",
|
||||||
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
||||||
"@xsi:schemaLocation": "http://standards.buildingsmart.org/IDS/0.9.6/ids.xsd",
|
"@xsi:schemaLocation": "http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/0.9.6/ids.xsd",
|
||||||
"info": {
|
"info": {
|
||||||
"title": "title",
|
"title": "title",
|
||||||
"copyright": "copyright",
|
"copyright": "copyright",
|
||||||
@@ -92,7 +93,7 @@ class TestIds:
|
|||||||
"@xmlns": "http://standards.buildingsmart.org/IDS",
|
"@xmlns": "http://standards.buildingsmart.org/IDS",
|
||||||
"@xmlns:xs": "http://www.w3.org/2001/XMLSchema",
|
"@xmlns:xs": "http://www.w3.org/2001/XMLSchema",
|
||||||
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
||||||
"@xsi:schemaLocation": "http://standards.buildingsmart.org/IDS/0.9.6/ids.xsd",
|
"@xsi:schemaLocation": "http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/0.9.6/ids.xsd",
|
||||||
"info": {"title": "Untitled"},
|
"info": {"title": "Untitled"},
|
||||||
"specifications": {"specification": []},
|
"specifications": {"specification": []},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user