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 bae7ef89ade172a3f3c91fe1d5ecce8f3fdca092..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
@@
-125,10
+127,10
@@
class TestConfig(unittest.TestCase):
OK = "KO"
# The command to test
OK = "KO"
# The command to test
- sat = Sat("-oPRODUCTS.
softA
.name='test'")
+ sat = Sat("-oPRODUCTS.
PRODUCT_GIT.default
.name='test'")
sat.config('')
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
OK = "OK"
# pyunit method to compare 2 str