Salome HOME
projects
/
tools
/
sat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'BR_8_3' of https://codev-tuleap.cea.fr/plugins/git/spns/SAT into BR_8_3
[tools/sat.git]
/
test
/
config
/
create_user_pyconf.py
diff --git
a/test/config/create_user_pyconf.py
b/test/config/create_user_pyconf.py
index 0bc6e96138dbd05b7c50c138d322e35952dba1e5..6036d301502d77a73e2796ecf5a4b9aca350e9da 100644
(file)
--- 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")
# pyunit method to compare 2 str
self.assertEqual(OK, "OK")
+ """
def test_override_SITE(self):
'''override SITE
'''
OK = "KO"
# The command to test
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()
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")
OK = "OK"
# pyunit method to compare 2 str
self.assertEqual(OK, "OK")
+ """
def test_override_APPLICATION(self):
'''override APPLICATION
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")
# 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
'''
OK = "KO"
# The command to test
- sat = Sat("-o
SOFTWARE.softA.compile_method
='test'")
+ sat = Sat("-o
PRODUCTS.PRODUCT_GIT.default.name
='test'")
sat.config('')
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
OK = "OK"
# pyunit method to compare 2 str