Crate provwasm_mocks[][src]

Structs

AttributeQuerier

A mock for testing provenance account attribute queries.

MarkerQuerier

A mock for testing provenance marker module queries.

NameQuerier

A mock for testing provenance name module queries.

ProvenanceMockQuerier

Functions

mock_dependencies

A drop-in replacement for cosmwasm_std::testing::mock_dependencies that uses the mock provenance querier.

must_read_binary_file

A helper function for mock testing. This function allows tests to read a file in CosmWasm binary format. This function will panic on any error. Because of this, it should only be used in tests.