Related to NXP-21078 (not backported to 9.10, we should skip the test for now):
___________________________ test_additionnal_params ____________________________ server = Nuxeo<client=NuxeoClient<host='http://localhost:8080/nuxeo/', version='9.10'>> def test_additionnal_params(server): func = partial(server.directories.get, "nature") # The number of returned entries is configured by the querySizeLimit parameters on the server (50 by default) # https://github.com/nuxeo/nuxeo/blob/82d0328/nuxeo-distribution/nuxeo-nxr-server/src/main/resources/templates/common/config/default-directories-bundle.xml#L23 total = len(func().entries) # Get only 10 entries > assert len(func(pageSize=10).entries) == 10 E assert 37 == 10 E +37 E -10
Related to NXPY-54 (missed support for 9.10 ... , will be fixed):
_____________________________ test_document_trash ______________________________ server = Nuxeo<client=NuxeoClient<host='http://localhost:8080/nuxeo/', version='9.10'>> def test_document_trash(server): doc = Document(name=WORKSPACE_NAME, type="File", properties={"dc:title": "bar.txt"}) doc = server.documents.create(doc, parent_path=WORKSPACE_ROOT) try: assert not doc.isTrashed doc.trash() > assert doc.isTrashed E AssertionError: assert None
Related to NXPY-84 (the test will be skipped):
_____________________________ test_add_permission ______________________________ server = Nuxeo<client=NuxeoClient<host='http://localhost:8080/nuxeo/', version='9.10'>> def test_add_permission(server): with SwapAttr(nuxeo.constants, "CHECK_PARAMS", True), Doc(server) as doc: # NXPY-84: here we should not fail with KeyError: 'list' in check_params() > doc.add_permission({"permission": "ReadWrite", "users": ["Administrator"]}) E nuxeo.exceptions.BadQuery: unexpected parameter 'users' for operation Document.AddPermission
- is related to
-
NXP-21078 Fix pagination in the directory endpoint
- Resolved
-
NXPY-54 Add new Trash API
- Resolved
-
NXPY-84 Handle list type in operation parameters
- Resolved
-
NXDRIVE-2174 Use versions check functions from the Python client
- Resolved
- Is referenced in