Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1062

Fix encoding for string comparisons on macOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0.5
    • Component/s: Framework
    • Tags:
    • Sprint:
      nxDrive 10.1.4
    • Story Points:
      3

      Description

      [INFO]      [exec] =============================== warnings summary ===============================
      [INFO]      [exec] nuxeo-drive-client/tests/test_direct_edit.py::TestDirectEdit::test_filename_encoding
      [INFO]      [exec]   /Users/jenkins/tmp/0ebd1d51/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/sources/nuxeo-drive-client/nxdrive/direct_edit.py:542: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
      [INFO]      [exec]     if name != file_name:
      [INFO]      [exec] nuxeo-drive-client/tests/test_local_client.py::TestLocalClientNative::test_remote_changing_case_accentued_folder
      [INFO]      [exec]   /Users/jenkins/tmp/0ebd1d51/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/sources/nuxeo-drive-client/nxdrive/engine/watcher/local_watcher.py:822: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
      [INFO]      [exec]     if (dst_path == normalize_event_filename(evt.src_path, action=False)
      [INFO]      [exec] -- Docs: http://doc.pytest.org/en/latest/warnings.html
      [INFO]      [exec] == 1 failed, 298 passed, 26 skipped, 2 xfailed, 2 warnings in 4356.46 seconds ==
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h