X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test%2Fconfig%2Fcreate_user_pyconf.py;h=6036d301502d77a73e2796ecf5a4b9aca350e9da;hb=e4906af5db78d7b0f7ff402b673d5702e2dee445;hp=bae7ef89ade172a3f3c91fe1d5ecce8f3fdca092;hpb=713d5abd2d3bb247d0175df72ada29cfaa3129de;p=tools%2Fsat.git diff --git a/test/config/create_user_pyconf.py b/test/config/create_user_pyconf.py index bae7ef8..6036d30 100644 --- a/test/config/create_user_pyconf.py +++ b/test/config/create_user_pyconf.py @@ -89,20 +89,22 @@ class TestConfig(unittest.TestCase): # pyunit method to compare 2 str self.assertEqual(OK, "OK") + """ def test_override_SITE(self): '''override SITE ''' OK = "KO" # The command to test - sat = Sat("-oSITE.prepare.default_git_server='testgit'") + sat = Sat("-oSITE.jobs.config_path='/tmp'") sat.config() - if sat.cfg.SITE.prepare.default_git_server == 'testgit': + if sat.cfg.SITE.jobs.config_path == '/tmp': OK = "OK" # pyunit method to compare 2 str self.assertEqual(OK, "OK") + """ def test_override_APPLICATION(self): '''override APPLICATION @@ -125,10 +127,10 @@ class TestConfig(unittest.TestCase): OK = "KO" # The command to test - sat = Sat("-oPRODUCTS.softA.name='test'") + sat = Sat("-oPRODUCTS.PRODUCT_GIT.default.name='test'") sat.config('') - if sat.cfg.PRODUCTS.softA.name == 'test': + if sat.cfg.PRODUCTS.PRODUCT_GIT.default.name == 'test': OK = "OK" # pyunit method to compare 2 str