Module diem.testing

This module provides testing utilities:

  1. MiniWallet application as counterparty wallet application stub for testing your wallet application.
  2. Payment test suites provide tests running on top of MiniWallet API for testing wallet application payment features.
  3. LocalAccount for managing local account keys and generating random local account.
Expand source code
# Copyright (c) The Diem Core Contributors
# SPDX-License-Identifier: Apache-2.0

"""This module provides testing utilities:

1. MiniWallet application as counterparty wallet application stub for testing your wallet application.
2. Payment test suites provide tests running on top of MiniWallet API for testing wallet application payment features.
3. `LocalAccount` for managing local account keys and generating random local account.
"""

from .local_account import LocalAccount

Sub-modules

diem.testing.cli

This module provides command-line interface for starting mini-wallet application and running test suites.

diem.testing.local_account

Provides LocalAccount class for holding local account private key …

diem.testing.miniwallet
diem.testing.suites

This module provides test suites built for verifying the compatibility of a wallet implementing [Diem Transactions …