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

Fix missing methods in LocalTest for Linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.0
    • Component/s: Tests

      Description

      Some methods are redefined in the WindowsLocalClient and the MacLocalClient, but not in the LocalTest class. This makes some tests fail on Linux because they do not cast the str from the tests into Path, most of them in test_local_move_and_rename.py with errors such as:

      TypeError: unsupported operand type(s) for /: 'str' and 'str'
      
      AttributeError: 'str' object has no attribute 'name'
      

        Attachments

          Issue Links

            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