From fbc4599ded973bd76ca708e5e9116f5d9181a4f3 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 1 Jul 2016 08:58:28 +0200 Subject: [PATCH] Change command for unit test self test --- test/test_cscaldb.py | 2 +- test/test_csfindobs.py | 2 +- test/test_csiactcopy.py | 2 +- test/test_csiactdata.py | 2 +- test/test_csiactobs.py | 2 +- test/test_cslightcrv.py | 2 +- test/test_csmodelinfo.py | 2 +- test/test_csmodelmerge.py | 2 +- test/test_csobs2caldb.py | 2 +- test/test_csobsdef.py | 2 +- test/test_csobsinfo.py | 2 +- test/test_cspull.py | 2 +- test/test_csresmap.py | 2 +- test/test_csroot2caldb.py | 2 +- test/test_cssens.py | 2 +- test/test_csspec.py | 2 +- test/test_cstsdist.py | 2 +- test/test_cstsmapmerge.py | 2 +- test/test_csworkflow.py | 2 +- test/test_ctbin.py | 2 +- test/test_ctbkgcube.py | 2 +- test/test_ctbutterfly.py | 2 +- test/test_ctcubemask.py | 2 +- test/test_ctedispcube.py | 2 +- test/test_cterror.py | 2 +- test/test_ctexpcube.py | 2 +- test/test_ctlike.py | 2 +- test/test_ctmapcube.py | 2 +- test/test_ctmodel.py | 2 +- test/test_ctobssim.py | 2 +- test/test_ctpsfcube.py | 2 +- test/test_ctselect.py | 2 +- test/test_ctskymap.py | 2 +- test/test_cttsmap.py | 2 +- test/test_ctulimit.py | 2 +- 35 files changed, 35 insertions(+), 35 deletions(-) diff --git a/test/test_cscaldb.py b/test/test_cscaldb.py index 5186943..72f74a3 100755 --- a/test/test_cscaldb.py +++ b/test/test_cscaldb.py @@ -72,7 +72,7 @@ class Test(test): cmd = cscaldb+' logfile="cscaldb_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_csfindobs.py b/test/test_csfindobs.py index 3ffed07..32c9384 100755 --- a/test/test_csfindobs.py +++ b/test/test_csfindobs.py @@ -76,7 +76,7 @@ class Test(test): ' logfile="csfindobs_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_csiactcopy.py b/test/test_csiactcopy.py index e4d4377..ed03ef6 100755 --- a/test/test_csiactcopy.py +++ b/test/test_csiactcopy.py @@ -75,7 +75,7 @@ class Test(test): ' logfile="csiactcopy_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_csiactdata.py b/test/test_csiactdata.py index b5f0a4e..f07bc41 100755 --- a/test/test_csiactdata.py +++ b/test/test_csiactdata.py @@ -73,7 +73,7 @@ class Test(test): ' logfile="csiactdata_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_csiactobs.py b/test/test_csiactobs.py index 48306b9..0873db0 100755 --- a/test/test_csiactobs.py +++ b/test/test_csiactobs.py @@ -78,7 +78,7 @@ class Test(test): ' logfile="csiactobs_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_cslightcrv.py b/test/test_cslightcrv.py index bb1ecd5..a085b85 100755 --- a/test/test_cslightcrv.py +++ b/test/test_cslightcrv.py @@ -82,7 +82,7 @@ class Test(test): ' logfile="cslightcrv_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_csmodelinfo.py b/test/test_csmodelinfo.py index cc555ac..b6030c0 100755 --- a/test/test_csmodelinfo.py +++ b/test/test_csmodelinfo.py @@ -77,7 +77,7 @@ class Test(test): ' logfile="csmodelinfo_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_csmodelmerge.py b/test/test_csmodelmerge.py index 81276d4..53f63a3 100755 --- a/test/test_csmodelmerge.py +++ b/test/test_csmodelmerge.py @@ -74,7 +74,7 @@ class Test(test): ' logfile="csmodelmerge_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_csobs2caldb.py b/test/test_csobs2caldb.py index b67e8be..b8a69b7 100755 --- a/test/test_csobs2caldb.py +++ b/test/test_csobs2caldb.py @@ -82,7 +82,7 @@ class Test(test): ' logfile="csobs2caldb_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_csobsdef.py b/test/test_csobsdef.py index 72a3eaa..5c14c54 100755 --- a/test/test_csobsdef.py +++ b/test/test_csobsdef.py @@ -76,7 +76,7 @@ class Test(test): ' logfile="csobsdef_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_csobsinfo.py b/test/test_csobsinfo.py index ce65344..6017844 100755 --- a/test/test_csobsinfo.py +++ b/test/test_csobsinfo.py @@ -75,7 +75,7 @@ class Test(test): ' logfile="csobsinfo_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_cspull.py b/test/test_cspull.py index e65d90d..b202ec6 100755 --- a/test/test_cspull.py +++ b/test/test_cspull.py @@ -78,7 +78,7 @@ class Test(test): ' logfile="cspull_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_csresmap.py b/test/test_csresmap.py index 07e1718..18975da 100755 --- a/test/test_csresmap.py +++ b/test/test_csresmap.py @@ -80,7 +80,7 @@ class Test(test): ' logfile="csresmap_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_csroot2caldb.py b/test/test_csroot2caldb.py index 3a11a29..1f80cfc 100644 --- a/test/test_csroot2caldb.py +++ b/test/test_csroot2caldb.py @@ -80,7 +80,7 @@ class Test(test): ' logfile="csroot2caldb_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_cssens.py b/test/test_cssens.py index 44b91a2..b27fdce 100755 --- a/test/test_cssens.py +++ b/test/test_cssens.py @@ -76,7 +76,7 @@ class Test(test): ' logfile="cssens_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_csspec.py b/test/test_csspec.py index 664c3e6..26b3d04 100755 --- a/test/test_csspec.py +++ b/test/test_csspec.py @@ -77,7 +77,7 @@ class Test(test): ' logfile="csspec_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_cstsdist.py b/test/test_cstsdist.py index 88f0491..55a476f 100755 --- a/test/test_cstsdist.py +++ b/test/test_cstsdist.py @@ -78,7 +78,7 @@ class Test(test): ' logfile="cstsdist_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_cstsmapmerge.py b/test/test_cstsmapmerge.py index 95177e2..f8b83cb 100755 --- a/test/test_cstsmapmerge.py +++ b/test/test_cstsmapmerge.py @@ -74,7 +74,7 @@ class Test(test): ' logfile="cstsmapmerge_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_csworkflow.py b/test/test_csworkflow.py index bb0b9d4..d63b3ed 100755 --- a/test/test_csworkflow.py +++ b/test/test_csworkflow.py @@ -76,7 +76,7 @@ class Test(test): ' logfile="csworkflow_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_ctbin.py b/test/test_ctbin.py index ff582dc..6b91bf0 100755 --- a/test/test_ctbin.py +++ b/test/test_ctbin.py @@ -79,7 +79,7 @@ class Test(test): ' xref=83.63 yref=22.01 proj="CAR"' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_ctbkgcube.py b/test/test_ctbkgcube.py index f110983..601c9d8 100755 --- a/test/test_ctbkgcube.py +++ b/test/test_ctbkgcube.py @@ -77,7 +77,7 @@ class Test(test): ' logfile="ctbkgcube_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_ctbutterfly.py b/test/test_ctbutterfly.py index 131c637..71554c0 100755 --- a/test/test_ctbutterfly.py +++ b/test/test_ctbutterfly.py @@ -73,7 +73,7 @@ class Test(test): ' logfile="ctbutterfly_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_ctcubemask.py b/test/test_ctcubemask.py index 39bbd7e..f271a7d 100755 --- a/test/test_ctcubemask.py +++ b/test/test_ctcubemask.py @@ -73,7 +73,7 @@ class Test(test): ' logfile="ctcubemask_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_ctedispcube.py b/test/test_ctedispcube.py index 29ebadf..825fcc5 100755 --- a/test/test_ctedispcube.py +++ b/test/test_ctedispcube.py @@ -76,7 +76,7 @@ class Test(test): ' logfile="ctedispcube_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_cterror.py b/test/test_cterror.py index da15c04..dd38ec5 100755 --- a/test/test_cterror.py +++ b/test/test_cterror.py @@ -79,7 +79,7 @@ class Test(test): ' logfile="cterror_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_ctexpcube.py b/test/test_ctexpcube.py index 45deb69..81e3236 100755 --- a/test/test_ctexpcube.py +++ b/test/test_ctexpcube.py @@ -75,7 +75,7 @@ class Test(test): ' logfile="ctexpcube_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_ctlike.py b/test/test_ctlike.py index a60bf21..538a019 100755 --- a/test/test_ctlike.py +++ b/test/test_ctlike.py @@ -72,7 +72,7 @@ class Test(test): ' logfile="ctlike_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_ctmapcube.py b/test/test_ctmapcube.py index 4592aeb..c59b703 100644 --- a/test/test_ctmapcube.py +++ b/test/test_ctmapcube.py @@ -80,7 +80,7 @@ class Test(test): ' logfile="ctmapcube_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_ctmodel.py b/test/test_ctmodel.py index b3c7b39..c40a460 100755 --- a/test/test_ctmodel.py +++ b/test/test_ctmodel.py @@ -77,7 +77,7 @@ class Test(test): ' logfile="ctmodel_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_ctobssim.py b/test/test_ctobssim.py index 288dcfe..674fe84 100755 --- a/test/test_ctobssim.py +++ b/test/test_ctobssim.py @@ -81,7 +81,7 @@ class Test(test): ' tmin=0.0 tmax=1800.0 emin=0.1 emax=100.0' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_ctpsfcube.py b/test/test_ctpsfcube.py index 2572816..1953a64 100755 --- a/test/test_ctpsfcube.py +++ b/test/test_ctpsfcube.py @@ -76,7 +76,7 @@ class Test(test): ' logfile="ctpsfcube_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_ctselect.py b/test/test_ctselect.py index ef0290f..c85f140 100755 --- a/test/test_ctselect.py +++ b/test/test_ctselect.py @@ -73,7 +73,7 @@ class Test(test): ' logfile="ctselect_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_ctskymap.py b/test/test_ctskymap.py index a6243b7..10a71bf 100755 --- a/test/test_ctskymap.py +++ b/test/test_ctskymap.py @@ -73,7 +73,7 @@ class Test(test): ' logfile="ctskymap_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_cttsmap.py b/test/test_cttsmap.py index f8a99b9..c1a4ea1 100755 --- a/test/test_cttsmap.py +++ b/test/test_cttsmap.py @@ -74,7 +74,7 @@ class Test(test): ' logfile="cttsmap_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful diff --git a/test/test_ctulimit.py b/test/test_ctulimit.py index 112ee1b..72d1e20 100755 --- a/test/test_ctulimit.py +++ b/test/test_ctulimit.py @@ -71,7 +71,7 @@ class Test(test): ' logfile="ctulimit_cmd1.log" chatter=1' # Check if execution of wrong command fails - self.test_assert(self._execute('command that does not exist') != 0, + self.test_assert(self._execute('command_that_does_not_exist') != 0, 'Self test of test script') # Check if execution was successful -- libgit2 0.21.4