-
Type: Task
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 1.3.1216
-
Component/s: Remote client, Tests
Since NXP-15991, running the tests immediately fails with:
====================================================================== ERROR: test_real_conflict (nxdrive.tests.test_conflicts.TestConflicts) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/tests/test_conflicts.py", line 12, in setUp super(TestConflicts, self).setUp() File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/tests/common.py", line 117, in setUp password=self.password, base_folder=u'/', timeout=60) File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/client/remote_document_client.py", line 82, in __init__ base_folder_doc = self.fetch(base_folder) File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/client/remote_document_client.py", line 374, in fetch return self.execute("Document.Fetch", value=ref) File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/client/base_automation_client.py", line 283, in execute self._check_params(command, params) File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/client/base_automation_client.py", line 542, in _check_params method = self._check_operation(command) File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/client/base_automation_client.py", line 538, in _check_operation % command) ValueError: 'Document.Fetch' is not a registered operations.
This is because we now need to also match aliases when checking if an operation id is valid.
- depends on
-
NXP-15991 Provide Alias system for Automation operations
- Resolved