Skip to content

dev: add cache to tests #131

Open
Open
@EvolveArt

Description

@EvolveArt

We can use devnet loading/dumping with pickle to save time in running python tests as initial setup state will always be the same for each test.

We should implement a cached_state fixture that checks if there exists come pickle file and if so calls the /load rpc endpoint on the devnet. If it's not present it will call the /dump rpc endpoint at the end of the current fixture or test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions