Mercurial > p > roundup > code
diff test/test_xmlrpc.py @ 5199:1f72b73d7770
Still trying to figure out why travis ci fails without a call to
self.db.security.set_props_only_default(props_only=False)
Trying a call to new function get_props.... in the instance init
routine to see if the class prop is misconfigured or something.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 18 Mar 2017 14:42:05 -0400 |
| parents | f070841dee95 |
| children | 198b6e810c67 |
line wrap: on
line diff
--- a/test/test_xmlrpc.py Sat Mar 18 12:25:30 2017 -0400 +++ b/test/test_xmlrpc.py Sat Mar 18 14:42:05 2017 -0400 @@ -31,6 +31,8 @@ # open the database self.db = self.instance.open('admin') + print "props_only default", self.db.security.get_props_only_default() + # Get user id (user4 maybe). Used later to get data from db. self.joeid = 'user' + self.db.user.create(username='joe', password=password.Password('random'), address='random@home.org', @@ -197,7 +199,7 @@ def testAuthFilter(self): # this checks if we properly check for search permissions self.db.security.permissions = {} - self.db.security.set_props_only_default(props_only=False) + # self.db.security.set_props_only_default(props_only=False) self.db.security.addRole(name='User') self.db.security.addRole(name='Project') self.db.security.addPermissionToRole('User', 'Web Access')
