[cig-commits] r15193 - in short/3D/PyLith/trunk/unittests/pytests: bc faults feassemble materials meshio problems topology

brad at geodynamics.org brad at geodynamics.org
Thu Jun 11 09:57:37 PDT 2009


Author: brad
Date: 2009-06-11 09:57:34 -0700 (Thu, 11 Jun 2009)
New Revision: 15193

Modified:
   short/3D/PyLith/trunk/unittests/pytests/bc/TestAbsorbingDampers.py
   short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBC.py
   short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBoundary.py
   short/3D/PyLith/trunk/unittests/pytests/bc/TestNeumann.py
   short/3D/PyLith/trunk/unittests/pytests/faults/TestBruneSlipFn.py
   short/3D/PyLith/trunk/unittests/pytests/faults/TestConstRateSlipFn.py
   short/3D/PyLith/trunk/unittests/pytests/faults/TestEqKinSrc.py
   short/3D/PyLith/trunk/unittests/pytests/faults/TestFaultCohesiveKin.py
   short/3D/PyLith/trunk/unittests/pytests/faults/TestLiuCosSlipFn.py
   short/3D/PyLith/trunk/unittests/pytests/faults/TestStepSlipFn.py
   short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityExplicit.py
   short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityImplicit.py
   short/3D/PyLith/trunk/unittests/pytests/feassemble/TestFIATLagrange.py
   short/3D/PyLith/trunk/unittests/pytests/feassemble/TestFIATSimplex.py
   short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticIsotropic3D.py
   short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticPlaneStrain.py
   short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticPlaneStress.py
   short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticStrain1D.py
   short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticStress1D.py
   short/3D/PyLith/trunk/unittests/pytests/materials/TestGenMaxwellIsotropic3D.py
   short/3D/PyLith/trunk/unittests/pytests/materials/TestMaxwellIsotropic3D.py
   short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOAscii.py
   short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOCubit.py
   short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOLagrit.py
   short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerMesh.py
   short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerSubMesh.py
   short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputSolnSubset.py
   short/3D/PyLith/trunk/unittests/pytests/problems/TestTimeStepAdapt.py
   short/3D/PyLith/trunk/unittests/pytests/problems/TestTimeStepUniform.py
   short/3D/PyLith/trunk/unittests/pytests/problems/TestTimeStepUser.py
   short/3D/PyLith/trunk/unittests/pytests/topology/TestMeshImporter.py
Log:
Added testing of factory methods.

Modified: short/3D/PyLith/trunk/unittests/pytests/bc/TestAbsorbingDampers.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/bc/TestAbsorbingDampers.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/bc/TestAbsorbingDampers.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -166,6 +166,15 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.bc.AbsorbingDampers import boundary_condition
+    bc = boundary_condition()
+    return
+
+
   # PRIVATE METHODS ////////////////////////////////////////////////////
 
   def _initialize(self):

Modified: short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBC.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBC.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBC.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -159,6 +159,15 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.bc.DirichletBC import boundary_condition
+    bc = boundary_condition()
+    return
+
+
   # PRIVATE METHODS ////////////////////////////////////////////////////
 
   def _initialize(self):

Modified: short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBoundary.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBoundary.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBoundary.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -136,6 +136,15 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.bc.DirichletBoundary import boundary_condition
+    bc = boundary_condition()
+    return
+
+
   # PRIVATE METHODS ////////////////////////////////////////////////////
 
   def _initialize(self):

Modified: short/3D/PyLith/trunk/unittests/pytests/bc/TestNeumann.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/bc/TestNeumann.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/bc/TestNeumann.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -165,6 +165,15 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.bc.Neumann import boundary_condition
+    bc = boundary_condition()
+    return
+
+
   # PRIVATE METHODS ////////////////////////////////////////////////////
 
   def _initialize(self):

Modified: short/3D/PyLith/trunk/unittests/pytests/faults/TestBruneSlipFn.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/faults/TestBruneSlipFn.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/faults/TestBruneSlipFn.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -83,4 +83,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.faults.BruneSlipFn import slip_time_fn
+    fn = slip_time_fn()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/faults/TestConstRateSlipFn.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/faults/TestConstRateSlipFn.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/faults/TestConstRateSlipFn.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -74,4 +74,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.faults.ConstRateSlipFn import slip_time_fn
+    fn = slip_time_fn()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/faults/TestEqKinSrc.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/faults/TestEqKinSrc.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/faults/TestEqKinSrc.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -81,4 +81,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.faults.EqKinSrc import eq_kinematic_src
+    fn = eq_kinematic_src()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/faults/TestFaultCohesiveKin.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/faults/TestFaultCohesiveKin.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/faults/TestFaultCohesiveKin.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -249,6 +249,15 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.faults.FaultCohesiveKin import fault
+    f = fault()
+    return
+
+
   # PRIVATE METHODS ////////////////////////////////////////////////////
 
   def _initialize(self):

Modified: short/3D/PyLith/trunk/unittests/pytests/faults/TestLiuCosSlipFn.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/faults/TestLiuCosSlipFn.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/faults/TestLiuCosSlipFn.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -83,4 +83,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.faults.LiuCosSlipFn import slip_time_fn
+    fn = slip_time_fn()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/faults/TestStepSlipFn.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/faults/TestStepSlipFn.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/faults/TestStepSlipFn.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -74,4 +74,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.faults.StepSlipFn import slip_time_fn
+    fn = slip_time_fn()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityExplicit.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityExplicit.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityExplicit.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -193,6 +193,15 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.feassemble.ElasticityExplicit import integrator
+    i = integrator()
+    return
+
+
   # PRIVATE METHODS ////////////////////////////////////////////////////
 
   def _preinitialize(self):

Modified: short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityImplicit.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityImplicit.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityImplicit.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -189,6 +189,15 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.feassemble.ElasticityImplicit import integrator
+    i = integrator()
+    return
+
+
   # PRIVATE METHODS ////////////////////////////////////////////////////
 
   def _preinitialize(self):

Modified: short/3D/PyLith/trunk/unittests/pytests/feassemble/TestFIATLagrange.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/feassemble/TestFIATLagrange.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/feassemble/TestFIATLagrange.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -428,6 +428,15 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.feassemble.FIATLagrange import reference_cell
+    c = reference_cell()
+    return
+
+
   def _checkVals(self, cellE, cell):
     """
     Check known values against those generated by FIATSimplex.

Modified: short/3D/PyLith/trunk/unittests/pytests/feassemble/TestFIATSimplex.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/feassemble/TestFIATSimplex.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/feassemble/TestFIATSimplex.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -367,6 +367,15 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.feassemble.FIATSimplex import reference_cell
+    c = reference_cell()
+    return
+
+
   def _checkVals(self, cellE, cell):
     """
     Check known values against those generated by FIATSimplex.

Modified: short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticIsotropic3D.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticIsotropic3D.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticIsotropic3D.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -82,4 +82,13 @@
     self.failIf(dt < 1.0e+30)
   
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.materials.ElasticIsotropic3D import material
+    m = material()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticPlaneStrain.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticPlaneStrain.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticPlaneStrain.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -82,4 +82,13 @@
     self.failIf(dt < 1.0e+30)
   
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.materials.ElasticPlaneStrain import material
+    m = material()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticPlaneStress.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticPlaneStress.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticPlaneStress.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -82,4 +82,13 @@
     self.failIf(dt < 1.0e+30)
   
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.materials.ElasticPlaneStress import material
+    m = material()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticStrain1D.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticStrain1D.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticStrain1D.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -82,4 +82,13 @@
     self.failIf(dt < 1.0e+30)
   
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.materials.ElasticStrain1D import material
+    m = material()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticStress1D.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticStress1D.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/materials/TestElasticStress1D.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -82,4 +82,13 @@
     self.failIf(dt < 1.0e+30)
   
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.materials.ElasticStress1D import material
+    m = material()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/materials/TestGenMaxwellIsotropic3D.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/materials/TestGenMaxwellIsotropic3D.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/materials/TestGenMaxwellIsotropic3D.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -55,4 +55,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.materials.GenMaxwellIsotropic3D import material
+    m = material()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/materials/TestMaxwellIsotropic3D.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/materials/TestMaxwellIsotropic3D.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/materials/TestMaxwellIsotropic3D.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -72,4 +72,13 @@
     return
   
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.materials.MaxwellIsotropic3D import material
+    m = material()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOAscii.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOAscii.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOAscii.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -81,4 +81,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.meshio.MeshIOAscii import mesh_io
+    io = mesh_io()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOCubit.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOCubit.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOCubit.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -85,4 +85,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.meshio.MeshIOCubit import mesh_io
+    io = mesh_io()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOLagrit.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOLagrit.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOLagrit.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -91,4 +91,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.meshio.MeshIOLagrit import mesh_io
+    io = mesh_io()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerMesh.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerMesh.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerMesh.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -364,4 +364,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.meshio.OutputManagerMesh import output_manager
+    o = output_manager()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerSubMesh.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerSubMesh.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerSubMesh.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -323,4 +323,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.meshio.OutputManagerSubMesh import output_manager
+    o = output_manager()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputSolnSubset.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputSolnSubset.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputSolnSubset.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -166,4 +166,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.meshio.OutputSolnSubset import output_manager
+    o = output_manager()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/problems/TestTimeStepAdapt.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/problems/TestTimeStepAdapt.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/problems/TestTimeStepAdapt.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -146,4 +146,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.problems.TimeStepAdapt import time_step
+    ts = time_step()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/problems/TestTimeStepUniform.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/problems/TestTimeStepUniform.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/problems/TestTimeStepUniform.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -88,4 +88,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.problems.TimeStepUniform import time_step
+    ts = time_step()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/problems/TestTimeStepUser.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/problems/TestTimeStepUser.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/problems/TestTimeStepUser.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -123,4 +123,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.problems.TimeStepUser import time_step
+    ts = time_step()
+    return
+
+
 # End of file 

Modified: short/3D/PyLith/trunk/unittests/pytests/topology/TestMeshImporter.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/topology/TestMeshImporter.py	2009-06-11 05:41:22 UTC (rev 15192)
+++ short/3D/PyLith/trunk/unittests/pytests/topology/TestMeshImporter.py	2009-06-11 16:57:34 UTC (rev 15193)
@@ -32,4 +32,13 @@
     return
 
 
+  def test_factory(self):
+    """
+    Test factory method.
+    """
+    from pylith.topology.MeshImporter import mesh_generator
+    g = mesh_generator()
+    return
+
+
 # End of file 



More information about the CIG-COMMITS mailing list