[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15357] branches/soc-2008-djd/release/ scripts/im_ex_test_suite.py: Commit from lab pc
Dhanannjay Deo
dhandeo at gmail.com
Wed Jun 25 23:30:24 CEST 2008
Revision: 15357
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15357
Author: djd
Date: 2008-06-25 23:29:15 +0200 (Wed, 25 Jun 2008)
Log Message:
-----------
Commit from lab pc
Modified Paths:
--------------
branches/soc-2008-djd/release/scripts/im_ex_test_suite.py
Modified: branches/soc-2008-djd/release/scripts/im_ex_test_suite.py
===================================================================
--- branches/soc-2008-djd/release/scripts/im_ex_test_suite.py 2008-06-25 21:00:39 UTC (rev 15356)
+++ branches/soc-2008-djd/release/scripts/im_ex_test_suite.py 2008-06-25 21:29:15 UTC (rev 15357)
@@ -5,7 +5,7 @@
__author__ = " Dhanannjay Deo (dhandeo at gmail.com) "
__version__ = "$ Revision: 0.1 $"
-__date__ = "$ Date: 05/26/2008 $"
+__date__ = "$ Date: 05/19/2008 $"
__copyright__ = "Copyright (c) 2008 Blender Foundation "
__license__ = "GPL"
@@ -25,36 +25,32 @@
"""Check whether STL files exported are in good condition """
Blender.Save('TestData\\export_test.stl',1);
# Write code here to make sure stl file written is in good health
- self.assertEqual(121, self.knownValues[0][0])
+ self.assertEqual(999, self.knownValues[0][0])
def testDXF(self):
"""Check whether DXF files exported are in good condition """
Blender.Save('TestData\\export_test.dxf',1);
- self.assertEqual(999, self.knownValues[0][0])
def testOBJ(self):
"""Check whether OBJ files exported are in good condition """
# Blender along with test suit crashes here
#Blender.Save('TestData\\export_test.obj',1);
- self.assertEqual(999, self.knownValues[0][0])
def testOFF(self):
"""Check whether OBJ files exported are in good condition """
# Blender along with test suit crashes here
off_write('TestData\\export_test.off');
- self.assertEqual(999, self.knownValues[0][0])
def testWRL(self):
"""Check whether OBJ files exported are in good condition """
# Blender along with test suit crashes here
Blender.Save('TestData\\export_test.wrl',1);
- self.assertEqual(999, self.knownValues[0][0])
# ===== Main block ========
print 'Exporters test suit'
-# this line tries to comprehend
+# ===== Combine and run the tests ======
suite = unittest.makeSuite(ExportersTest,'test')
runner = unittest.TextTestRunner(verbosity=2)
More information about the Bf-blender-cvs
mailing list