Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Use VCR instead of mocking #47

Description

@matthewhanson

The vcrpy library is a great alternative to mocking, since it allows tests to be run against real endpoints and just records the result for later testing. These cassettes can then be used instead of making real calls.

Basically it allows for auto-creation of mock data. #43 shows an example test using VCR for downloading a metadata asset.

I think this can be used in place of moto for s3. If so then tests should be performed against public data without requiring authentication.

Mocking may still be required for some tests, such as testing uploading items.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions