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.

mock_dependencies_with_balances

Initializes the mock querier with the account balances provided. NOTE: contract balance must be set in the balances slice passed if required.

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.