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.

git-svn-id: https://svn.apache.org/repos/asf/chemistry/cmislib/trunk@1806379 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/tests/cmislibtest.py b/src/tests/cmislibtest.py
index 9f336a9..6c71731 100644
--- a/src/tests/cmislibtest.py
+++ b/src/tests/cmislibtest.py
@@ -1498,6 +1498,7 @@
             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