Commit fbc4599ded973bd76ca708e5e9116f5d9181a4f3

Authored by Jürgen Knödlseder
1 parent cf8a66b7

Change command for unit test self test

test/test_cscaldb.py
... ... @@ -72,7 +72,7 @@ class Test(test):
72 72 cmd = cscaldb+' logfile="cscaldb_cmd1.log" chatter=1'
73 73  
74 74 # Check if execution of wrong command fails
75   - self.test_assert(self._execute('command that does not exist') != 0,
  75 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
76 76 'Self test of test script')
77 77  
78 78 # Check if execution was successful
... ...
test/test_csfindobs.py
... ... @@ -76,7 +76,7 @@ class Test(test):
76 76 ' logfile="csfindobs_cmd1.log" chatter=1'
77 77  
78 78 # Check if execution of wrong command fails
79   - self.test_assert(self._execute('command that does not exist') != 0,
  79 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
80 80 'Self test of test script')
81 81  
82 82 # Check if execution was successful
... ...
test/test_csiactcopy.py
... ... @@ -75,7 +75,7 @@ class Test(test):
75 75 ' logfile="csiactcopy_cmd1.log" chatter=1'
76 76  
77 77 # Check if execution of wrong command fails
78   - self.test_assert(self._execute('command that does not exist') != 0,
  78 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
79 79 'Self test of test script')
80 80  
81 81 # Check if execution was successful
... ...
test/test_csiactdata.py
... ... @@ -73,7 +73,7 @@ class Test(test):
73 73 ' logfile="csiactdata_cmd1.log" chatter=1'
74 74  
75 75 # Check if execution of wrong command fails
76   - self.test_assert(self._execute('command that does not exist') != 0,
  76 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
77 77 'Self test of test script')
78 78  
79 79 # Check if execution was successful
... ...
test/test_csiactobs.py
... ... @@ -78,7 +78,7 @@ class Test(test):
78 78 ' logfile="csiactobs_cmd1.log" chatter=1'
79 79  
80 80 # Check if execution of wrong command fails
81   - self.test_assert(self._execute('command that does not exist') != 0,
  81 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
82 82 'Self test of test script')
83 83  
84 84 # Check if execution was successful
... ...
test/test_cslightcrv.py
... ... @@ -82,7 +82,7 @@ class Test(test):
82 82 ' logfile="cslightcrv_cmd1.log" chatter=1'
83 83  
84 84 # Check if execution of wrong command fails
85   - self.test_assert(self._execute('command that does not exist') != 0,
  85 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
86 86 'Self test of test script')
87 87  
88 88 # Check if execution was successful
... ...
test/test_csmodelinfo.py
... ... @@ -77,7 +77,7 @@ class Test(test):
77 77 ' logfile="csmodelinfo_cmd1.log" chatter=1'
78 78  
79 79 # Check if execution of wrong command fails
80   - self.test_assert(self._execute('command that does not exist') != 0,
  80 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
81 81 'Self test of test script')
82 82  
83 83 # Check if execution was successful
... ...
test/test_csmodelmerge.py
... ... @@ -74,7 +74,7 @@ class Test(test):
74 74 ' logfile="csmodelmerge_cmd1.log" chatter=1'
75 75  
76 76 # Check if execution of wrong command fails
77   - self.test_assert(self._execute('command that does not exist') != 0,
  77 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
78 78 'Self test of test script')
79 79  
80 80 # Check if execution was successful
... ...
test/test_csobs2caldb.py
... ... @@ -82,7 +82,7 @@ class Test(test):
82 82 ' logfile="csobs2caldb_cmd1.log" chatter=1'
83 83  
84 84 # Check if execution of wrong command fails
85   - self.test_assert(self._execute('command that does not exist') != 0,
  85 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
86 86 'Self test of test script')
87 87  
88 88 # Check if execution was successful
... ...
test/test_csobsdef.py
... ... @@ -76,7 +76,7 @@ class Test(test):
76 76 ' logfile="csobsdef_cmd1.log" chatter=1'
77 77  
78 78 # Check if execution of wrong command fails
79   - self.test_assert(self._execute('command that does not exist') != 0,
  79 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
80 80 'Self test of test script')
81 81  
82 82 # Check if execution was successful
... ...
test/test_csobsinfo.py
... ... @@ -75,7 +75,7 @@ class Test(test):
75 75 ' logfile="csobsinfo_cmd1.log" chatter=1'
76 76  
77 77 # Check if execution of wrong command fails
78   - self.test_assert(self._execute('command that does not exist') != 0,
  78 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
79 79 'Self test of test script')
80 80  
81 81 # Check if execution was successful
... ...
test/test_cspull.py
... ... @@ -78,7 +78,7 @@ class Test(test):
78 78 ' logfile="cspull_cmd1.log" chatter=1'
79 79  
80 80 # Check if execution of wrong command fails
81   - self.test_assert(self._execute('command that does not exist') != 0,
  81 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
82 82 'Self test of test script')
83 83  
84 84 # Check if execution was successful
... ...
test/test_csresmap.py
... ... @@ -80,7 +80,7 @@ class Test(test):
80 80 ' logfile="csresmap_cmd1.log" chatter=1'
81 81  
82 82 # Check if execution of wrong command fails
83   - self.test_assert(self._execute('command that does not exist') != 0,
  83 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
84 84 'Self test of test script')
85 85  
86 86 # Check if execution was successful
... ...
test/test_csroot2caldb.py
... ... @@ -80,7 +80,7 @@ class Test(test):
80 80 ' logfile="csroot2caldb_cmd1.log" chatter=1'
81 81  
82 82 # Check if execution of wrong command fails
83   - self.test_assert(self._execute('command that does not exist') != 0,
  83 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
84 84 'Self test of test script')
85 85  
86 86 # Check if execution was successful
... ...
test/test_cssens.py
... ... @@ -76,7 +76,7 @@ class Test(test):
76 76 ' logfile="cssens_cmd1.log" chatter=1'
77 77  
78 78 # Check if execution of wrong command fails
79   - self.test_assert(self._execute('command that does not exist') != 0,
  79 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
80 80 'Self test of test script')
81 81  
82 82 # Check if execution was successful
... ...
test/test_csspec.py
... ... @@ -77,7 +77,7 @@ class Test(test):
77 77 ' logfile="csspec_cmd1.log" chatter=1'
78 78  
79 79 # Check if execution of wrong command fails
80   - self.test_assert(self._execute('command that does not exist') != 0,
  80 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
81 81 'Self test of test script')
82 82  
83 83 # Check if execution was successful
... ...
test/test_cstsdist.py
... ... @@ -78,7 +78,7 @@ class Test(test):
78 78 ' logfile="cstsdist_cmd1.log" chatter=1'
79 79  
80 80 # Check if execution of wrong command fails
81   - self.test_assert(self._execute('command that does not exist') != 0,
  81 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
82 82 'Self test of test script')
83 83  
84 84 # Check if execution was successful
... ...
test/test_cstsmapmerge.py
... ... @@ -74,7 +74,7 @@ class Test(test):
74 74 ' logfile="cstsmapmerge_cmd1.log" chatter=1'
75 75  
76 76 # Check if execution of wrong command fails
77   - self.test_assert(self._execute('command that does not exist') != 0,
  77 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
78 78 'Self test of test script')
79 79  
80 80 # Check if execution was successful
... ...
test/test_csworkflow.py
... ... @@ -76,7 +76,7 @@ class Test(test):
76 76 ' logfile="csworkflow_cmd1.log" chatter=1'
77 77  
78 78 # Check if execution of wrong command fails
79   - self.test_assert(self._execute('command that does not exist') != 0,
  79 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
80 80 'Self test of test script')
81 81  
82 82 # Check if execution was successful
... ...
test/test_ctbin.py
... ... @@ -79,7 +79,7 @@ class Test(test):
79 79 ' xref=83.63 yref=22.01 proj="CAR"'
80 80  
81 81 # Check if execution of wrong command fails
82   - self.test_assert(self._execute('command that does not exist') != 0,
  82 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
83 83 'Self test of test script')
84 84  
85 85 # Check if execution was successful
... ...
test/test_ctbkgcube.py
... ... @@ -77,7 +77,7 @@ class Test(test):
77 77 ' logfile="ctbkgcube_cmd1.log" chatter=1'
78 78  
79 79 # Check if execution of wrong command fails
80   - self.test_assert(self._execute('command that does not exist') != 0,
  80 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
81 81 'Self test of test script')
82 82  
83 83 # Check if execution was successful
... ...
test/test_ctbutterfly.py
... ... @@ -73,7 +73,7 @@ class Test(test):
73 73 ' logfile="ctbutterfly_cmd1.log" chatter=1'
74 74  
75 75 # Check if execution of wrong command fails
76   - self.test_assert(self._execute('command that does not exist') != 0,
  76 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
77 77 'Self test of test script')
78 78  
79 79 # Check if execution was successful
... ...
test/test_ctcubemask.py
... ... @@ -73,7 +73,7 @@ class Test(test):
73 73 ' logfile="ctcubemask_cmd1.log" chatter=1'
74 74  
75 75 # Check if execution of wrong command fails
76   - self.test_assert(self._execute('command that does not exist') != 0,
  76 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
77 77 'Self test of test script')
78 78  
79 79 # Check if execution was successful
... ...
test/test_ctedispcube.py
... ... @@ -76,7 +76,7 @@ class Test(test):
76 76 ' logfile="ctedispcube_cmd1.log" chatter=1'
77 77  
78 78 # Check if execution of wrong command fails
79   - self.test_assert(self._execute('command that does not exist') != 0,
  79 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
80 80 'Self test of test script')
81 81  
82 82 # Check if execution was successful
... ...
test/test_cterror.py
... ... @@ -79,7 +79,7 @@ class Test(test):
79 79 ' logfile="cterror_cmd1.log" chatter=1'
80 80  
81 81 # Check if execution of wrong command fails
82   - self.test_assert(self._execute('command that does not exist') != 0,
  82 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
83 83 'Self test of test script')
84 84  
85 85 # Check if execution was successful
... ...
test/test_ctexpcube.py
... ... @@ -75,7 +75,7 @@ class Test(test):
75 75 ' logfile="ctexpcube_cmd1.log" chatter=1'
76 76  
77 77 # Check if execution of wrong command fails
78   - self.test_assert(self._execute('command that does not exist') != 0,
  78 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
79 79 'Self test of test script')
80 80  
81 81 # Check if execution was successful
... ...
test/test_ctlike.py
... ... @@ -72,7 +72,7 @@ class Test(test):
72 72 ' logfile="ctlike_cmd1.log" chatter=1'
73 73  
74 74 # Check if execution of wrong command fails
75   - self.test_assert(self._execute('command that does not exist') != 0,
  75 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
76 76 'Self test of test script')
77 77  
78 78 # Check if execution was successful
... ...
test/test_ctmapcube.py
... ... @@ -80,7 +80,7 @@ class Test(test):
80 80 ' logfile="ctmapcube_cmd1.log" chatter=1'
81 81  
82 82 # Check if execution of wrong command fails
83   - self.test_assert(self._execute('command that does not exist') != 0,
  83 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
84 84 'Self test of test script')
85 85  
86 86 # Check if execution was successful
... ...
test/test_ctmodel.py
... ... @@ -77,7 +77,7 @@ class Test(test):
77 77 ' logfile="ctmodel_cmd1.log" chatter=1'
78 78  
79 79 # Check if execution of wrong command fails
80   - self.test_assert(self._execute('command that does not exist') != 0,
  80 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
81 81 'Self test of test script')
82 82  
83 83 # Check if execution was successful
... ...
test/test_ctobssim.py
... ... @@ -81,7 +81,7 @@ class Test(test):
81 81 ' tmin=0.0 tmax=1800.0 emin=0.1 emax=100.0'
82 82  
83 83 # Check if execution of wrong command fails
84   - self.test_assert(self._execute('command that does not exist') != 0,
  84 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
85 85 'Self test of test script')
86 86  
87 87 # Check if execution was successful
... ...
test/test_ctpsfcube.py
... ... @@ -76,7 +76,7 @@ class Test(test):
76 76 ' logfile="ctpsfcube_cmd1.log" chatter=1'
77 77  
78 78 # Check if execution of wrong command fails
79   - self.test_assert(self._execute('command that does not exist') != 0,
  79 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
80 80 'Self test of test script')
81 81  
82 82 # Check if execution was successful
... ...
test/test_ctselect.py
... ... @@ -73,7 +73,7 @@ class Test(test):
73 73 ' logfile="ctselect_cmd1.log" chatter=1'
74 74  
75 75 # Check if execution of wrong command fails
76   - self.test_assert(self._execute('command that does not exist') != 0,
  76 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
77 77 'Self test of test script')
78 78  
79 79 # Check if execution was successful
... ...
test/test_ctskymap.py
... ... @@ -73,7 +73,7 @@ class Test(test):
73 73 ' logfile="ctskymap_cmd1.log" chatter=1'
74 74  
75 75 # Check if execution of wrong command fails
76   - self.test_assert(self._execute('command that does not exist') != 0,
  76 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
77 77 'Self test of test script')
78 78  
79 79 # Check if execution was successful
... ...
test/test_cttsmap.py
... ... @@ -74,7 +74,7 @@ class Test(test):
74 74 ' logfile="cttsmap_cmd1.log" chatter=1'
75 75  
76 76 # Check if execution of wrong command fails
77   - self.test_assert(self._execute('command that does not exist') != 0,
  77 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
78 78 'Self test of test script')
79 79  
80 80 # Check if execution was successful
... ...
test/test_ctulimit.py
... ... @@ -71,7 +71,7 @@ class Test(test):
71 71 ' logfile="ctulimit_cmd1.log" chatter=1'
72 72  
73 73 # Check if execution of wrong command fails
74   - self.test_assert(self._execute('command that does not exist') != 0,
  74 + self.test_assert(self._execute('command_that_does_not_exist') != 0,
75 75 'Self test of test script')
76 76  
77 77 # Check if execution was successful
... ...