The branch, master has been updated via cd2f1b70fede3a52d4da401da27780e6ab813f6d (commit) from 0d6d00e7bcf3bf35a81e4e3a67d2c81e659bc9af (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit cd2f1b70fede3a52d4da401da27780e6ab813f6d Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Fri Jan 25 10:31:22 2013 +0100 add test to verify that the configuration of nameservice backend also works ----------------------------------------------------------------------- Summary of changes: x2gobroker/tests/test_broker_base.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) The diff of changes is: diff --git a/x2gobroker/tests/test_broker_base.py b/x2gobroker/tests/test_broker_base.py index 8491e88..5356e1f 100644 --- a/x2gobroker/tests/test_broker_base.py +++ b/x2gobroker/tests/test_broker_base.py @@ -219,6 +219,21 @@ enable = true base_backend = base.X2GoBroker(config_file=tf.name, config_defaults=_config_defaults) self.assertEqual(base_backend.get_userdb_service(), 'libnss') self.assertEqual(base_backend.get_groupdb_service(), 'libnss') + _config_defaults = copy.deepcopy(x2gobroker.defaults.X2GOBROKER_CONFIG_DEFAULTS) + _config = """ +[global] +default-user-db = testsuite +default-group-db = testsuite + +[base] +enable = true +""" + tf = tempfile.NamedTemporaryFile() + print >> tf, _config + tf.seek(0) + base_backend = base.X2GoBroker(config_file=tf.name, config_defaults=_config_defaults) + self.assertEqual(base_backend.get_userdb_service(), 'testsuite') + self.assertEqual(base_backend.get_groupdb_service(), 'testsuite') ### TEST CONFIGURATION: global >> check-credentials = false hooks/post-receive -- x2gobroker.git (HTTP(S) Session broker for X2Go) This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "x2gobroker.git" (HTTP(S) Session broker for X2Go).