@@ -24,7 +24,7 @@ def test_geometry_export(self):
2424 bpy .context .view_layer .update ()
2525
2626 xmlFile = None
27- iniFIle = None
27+ iniFile = None
2828
2929 try :
3030 export_geometry_data (self , XML_FILE )
@@ -34,17 +34,17 @@ def test_geometry_export(self):
3434 self .assertEqual ('<?xml version=\" 1.0\" encoding=\" UTF-8\" ?>\n ' , xmlFile .readline ())
3535 self .assertEqual ('<Geometry isSmall="False">\n ' , xmlFile .readline ())
3636 self .assertEqual (
37- ' <Shape Height="1.000 " MajorRadius="0.500" MinorRadius="0.500" Type="BOX ">\n ' ,
37+ ' <Shape Type="BOX " MajorRadius="0.500" MinorRadius="0.500" Height="1.000 ">\n ' ,
3838 xmlFile .readline ())
3939 self .assertEqual (' <Offset X="0.000000" Y="0.000000" Z="0.000000" />\n ' , xmlFile .readline ())
4040 self .assertEqual (' </Shape>\n ' , xmlFile .readline ())
4141 self .assertEqual (
42- ' <Shape ContactPointGeneration="VEHICLE " MajorRadius="0.500" Type="SPHERE ">\n ' ,
42+ ' <Shape Type="SPHERE " MajorRadius="0.500" ContactPointGeneration="VEHICLE ">\n ' ,
4343 xmlFile .readline ())
4444 self .assertEqual (' <Offset X="2.000000" Y="2.000000" Z="5.000000" />\n ' , xmlFile .readline ())
4545 self .assertEqual (' </Shape>\n ' , xmlFile .readline ())
4646 self .assertEqual (
47- ' <Shape ContactPointGeneration="STRUCTURE" Height="1.000" MajorRadius ="0.500" MinorRadius="0.500" Type="CYLINDER ">\n ' ,
47+ ' <Shape Type="CYLINDER" MajorRadius="0.500" MinorRadius ="0.500" Height="1.000" ContactPointGeneration="STRUCTURE ">\n ' ,
4848 xmlFile .readline ())
4949 self .assertEqual (' <Offset X="22.332001" Y="2.110000" Z="-5.000000" />\n ' , xmlFile .readline ())
5050 self .assertEqual (' </Shape>\n ' , xmlFile .readline ())
0 commit comments