File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 2121import subprocess
2222import os
2323
24- # Do not allow test order sorting
25- unittest .TestLoader .sortTestMethodsUsing = None
26-
2724# Change to modeling directory
2825currentDir = os .getcwd ()
2926path = os .path .join (currentDir ,os .pardir )
@@ -35,7 +32,7 @@ class TestScons(unittest.TestCase):
3532 Unit tests of the gaussian model building
3633 '''
3734
38- def test_gaussianReflectorModeling (self ):
35+ def test_a_gaussianReflectorModeling (self ):
3936 '''
4037 Test the building of the gaussian reflector in
4138 a linear velocity model
@@ -44,7 +41,7 @@ def test_gaussianReflectorModeling(self):
4441 self .assertEqual (result ,0 ,'FAILED: gaussian reflector modeling failed!' )
4542
4643
47- def test_gaussianReflectorPefInterpolation (self ):
44+ def test_b_gaussianReflectorPefInterpolation (self ):
4845 '''
4946 Test of the PEF interpolation step of the seismic data cube
5047 modeled with the gaussian reflector linear velocity model.
Original file line number Diff line number Diff line change 2121import subprocess
2222import os
2323
24- # Do not allow test order sorting
25- unittest .TestLoader .sortTestMethodsUsing = None
26-
2724# Change to modeling directory
2825currentDir = os .getcwd ()
2926path = os .path .join (currentDir ,os .pardir )
@@ -35,14 +32,14 @@ class TestScons(unittest.TestCase):
3532 Unit tests of the multi layer model building
3633 '''
3734
38- def test_multiLayerModeling (self ):
35+ def test_a_multiLayerModeling (self ):
3936 '''
4037 Test of the building of the multi layer model
4138 '''
4239 result = subprocess .call ('cd modelingAndPEFInterpolation/multiLayerModel && scons multiLayerDataCube.rsf' ,shell = True )
4340 self .assertEqual (result ,0 ,'FAILED: multi Layer modeling failed!' )
4441
45- def test_multiLayerPefInterpolation (self ):
42+ def test_b_multiLayerPefInterpolation (self ):
4643 '''
4744 Test of the PEF interpolation step of the seimic data cube
4845 modeled with the multi layer model
You can’t perform that action at this time.
0 commit comments