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: 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/tests/ b/src/tests/
index 9f336a9..6c71731 100644
--- a/src/tests/
+++ b/src/tests/
@@ -1498,6 +1498,7 @@
             print 'Repository needs to support either both or basic permissions for this test'
         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