chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpo...@apache.org
Subject svn commit: r1806379 - /chemistry/cmislib/trunk/src/tests/cmislibtest.py
Date Sun, 27 Aug 2017 17:01:44 GMT
Author: jpotts
Date: Sun Aug 27 17:01:43 2017
New Revision: 1806379

URL: http://svn.apache.org/viewvc?rev=1806379&view=rev
Log:
Remove the principal from the ACL prior to adding it back to fix a test failure when running
against OpenCMIS InMemory repo with the AtomPub binding.

Modified:
    chemistry/cmislib/trunk/src/tests/cmislibtest.py

Modified: chemistry/cmislib/trunk/src/tests/cmislibtest.py
URL: http://svn.apache.org/viewvc/chemistry/cmislib/trunk/src/tests/cmislibtest.py?rev=1806379&r1=1806378&r2=1806379&view=diff
==============================================================================
--- chemistry/cmislib/trunk/src/tests/cmislibtest.py (original)
+++ chemistry/cmislib/trunk/src/tests/cmislibtest.py Sun Aug 27 17:01:43 2017
@@ -1498,6 +1498,7 @@ class ACLTest(CmisTestBase):
             print 'Repository needs to support either both or basic permissions for this
test'
             return
         acl = self._testFolder.getACL()
+        acl.removeEntry(settings.TEST_PRINCIPAL_ID)
         acl.addEntry(settings.TEST_PRINCIPAL_ID, 'cmis:write')
         acl = self._testFolder.applyACL(acl)
         # would be good to check that the permission we get back is what we set



Mime
View raw message