X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test%2Fconfig%2Fcreate_user_pyconf.py;h=6036d301502d77a73e2796ecf5a4b9aca350e9da;hb=e4906af5db78d7b0f7ff402b673d5702e2dee445;hp=0bc6e96138dbd05b7c50c138d322e35952dba1e5;hpb=0917d86acde72055f25aed5cee20faa69654e76a;p=tools%2Fsat.git diff --git a/test/config/create_user_pyconf.py b/test/config/create_user_pyconf.py index 0bc6e96..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 @@ -119,16 +121,16 @@ class TestConfig(unittest.TestCase): # pyunit method to compare 2 str self.assertEqual(OK, "OK") - def test_override_SOFTWARE(self): - '''override SOFTWARE + def test_override_PRODUCTS(self): + '''override PRODUCTS ''' OK = "KO" # The command to test - sat = Sat("-oSOFTWARE.softA.compile_method='test'") + sat = Sat("-oPRODUCTS.PRODUCT_GIT.default.name='test'") sat.config('') - if sat.cfg.SOFTWARE.softA.compile_method == 'test': + if sat.cfg.PRODUCTS.PRODUCT_GIT.default.name == 'test': OK = "OK" # pyunit method to compare 2 str