+ def test_override_VARS(self):
+ '''override VARS
+ '''
+ OK = "KO"
+
+ # The command to test
+ sat = Sat("-oVARS.user='user_test'")
+ sat.config()
+
+ if sat.cfg.VARS.user == 'user_test':
+ OK = "OK"
+
+ # pyunit method to compare 2 str
+ self.assertEqual(OK, "OK")
+
+ def test_override_INTERNAL(self):
+ '''override INTERNAL
+ '''
+ OK = "KO"
+
+ # The command to test
+ sat = Sat("-oINTERNAL.sat_version='V0'")
+ sat.config()
+
+ if sat.cfg.INTERNAL.sat_version == 'V0':
+ OK = "OK"
+
+ # 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.jobs.config_path='/tmp'")
+ sat.config()
+
+ 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
+ '''
+ OK = "KO"
+
+ # The command to test
+ sat = Sat("-oAPPLICATION.out_dir='/tmp'")
+ sat.config('appli-test')
+
+ if sat.cfg.APPLICATION.out_dir == '/tmp':
+ OK = "OK"
+
+ # pyunit method to compare 2 str
+ self.assertEqual(OK, "OK")
+
+ def test_override_PRODUCTS(self):
+ '''override PRODUCTS
+ '''
+ OK = "KO"
+
+ # The command to test
+ sat = Sat("-oPRODUCTS.PRODUCT_GIT.default.name='test'")
+ sat.config('')
+
+ if sat.cfg.PRODUCTS.PRODUCT_GIT.default.name == 'test':
+ OK = "OK"
+
+ # pyunit method to compare 2 str
+ self.assertEqual(OK, "OK")
+