Uploaded image for project: 'Nuxeo Python Client'
  1. Nuxeo Python Client
  2. NXPY-147

Patch moto to be able to test the S3 ListParts API

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.2
    • Component/s: Tests

      Description

      For several reasons, we should patch upstream moto, the module we are using to test S3 uploads:

      • we cannot test S3 uploads completely because there is no available server with S3 enabled on our CI;
      • so we try to test S3 critical parts only (but correctly).

      And so, we _need_ to be able to test every API we are using. In that case, the ListParts API is used to retrieved already sent parts of a given multipart upload ID. As this API returns parts by batch, we need to call it several times to retrieve all uploaded parts.

      And this is currently not testable because of a lack of implementation in moto.

      I already opened an issue on their repository.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mschoentgen Mickaël Schoentgen
                Reporter:
                mschoentgen Mickaël Schoentgen
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 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 - 6 hours, 30 minutes
                  6h 30m