Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: X2Go dev team <git-admin-P0WSJaAXTow <at> public.gmane.org>
Subject: x2gobroker.git - master (branch) updated: f0df0578d48cb5eb91bfb1e482d68f4937817fce
Newsgroups: gmane.linux.terminal-server.x2go.scm
Date: Wednesday 30th January 2013 09:51:08 UTC (over 3 years ago)
The branch, master has been updated
       via  f0df0578d48cb5eb91bfb1e482d68f4937817fce (commit)
       via  d705e7ba70e7866ce904a5f509158430db94def7 (commit)
      from  e96a2eb0f50a5fbd8afbe5644f328eaa34caf725 (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 f0df0578d48cb5eb91bfb1e482d68f4937817fce
Author: Mike Gabriel

Date:   Wed Jan 30 10:52:17 2013 +0100

    typo fixes in test_broker_base.py

commit d705e7ba70e7866ce904a5f509158430db94def7
Author: Mike Gabriel

Date:   Wed Jan 30 10:50:58 2013 +0100

    enable debug mode when running unit tests

-----------------------------------------------------------------------

Summary of changes:
 test.py                              |    1 +
 x2gobroker/tests/test_broker_base.py |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/test.py b/test.py
index 5dce707..353cd16 100755
--- a/test.py
+++ b/test.py
@@ -24,5 +24,6 @@ Unit tests for Python X2GoBroker.
 import os
 
 if __name__ == "__main__":
+    os.environ.update({'X2GOBROKER_DEBUG': "1"})
     os.chdir(os.path.join('x2gobroker', 'tests',))
     os.system('python ./runalltests.py')
diff --git a/x2gobroker/tests/test_broker_base.py
b/x2gobroker/tests/test_broker_base.py
index 8891103..bde1538 100644
--- a/x2gobroker/tests/test_broker_base.py
+++ b/x2gobroker/tests/test_broker_base.py
@@ -343,13 +343,13 @@ check-credentials = false
         # no ACLs will grant access
         acls = {
             'acl-users-allow': [],
-            'acl-user-deny': [],
+            'acl-users-deny': [],
             'acl-users-order': 'deny-allow',
         }
         self.assertEqual(base_backend.check_profile_acls(username, acls),
True)
         acls = {
             'acl-users-allow': [],
-            'acl-user-deny': [],
+            'acl-users-deny': [],
             'acl-users-order': 'allow-deny',
         }
         self.assertEqual(base_backend.check_profile_acls(username, acls),
True)


hooks/post-receive
 
CD: 3ms