Skip to content

plugins.aea-test-autonomy.aea_test_autonomy.base_test_classes.contracts

Base test classes.

BaseContractTest Objects

class BaseContractTest(ABC)

Base test class for contract tests.

deploy

@classmethod
def deploy(cls, **kwargs: Any) -> None

Deploy the contract.

deployment_kwargs

@classmethod
def deployment_kwargs(cls) -> Dict[str, Any]

Get deployment kwargs.

BaseGanacheContractTest Objects

class BaseGanacheContractTest(BaseContractTest, GanacheBaseTest)

Base test case for testing contracts on Ganache.

BaseHardhatGnosisContractTest Objects

class BaseHardhatGnosisContractTest(BaseContractTest, HardHatGnosisBaseTest)

Base test case for testing contracts on Hardhat with Gnosis.

BaseHardhatAMMContractTest Objects

class BaseHardhatAMMContractTest(BaseContractTest, HardHatAMMBaseTest)

Base test case for testing AMM contracts on Hardhat.

BaseRegistriesContractsTest Objects

class BaseRegistriesContractsTest(BaseContractTest, RegistriesBaseTest)

Base test case for the registries contract.

BaseContractWithDependencyTest Objects

class BaseContractWithDependencyTest(BaseContractTest)

Base test contract with contract dependencies

BaseGanacheContractWithDependencyTest Objects

class BaseGanacheContractWithDependencyTest(BaseContractWithDependencyTest,
                                            GanacheBaseTest)

Base test case for testing contracts with dependencies on Ganache.

BaseHardhatGnosisContractWithDependencyTest Objects

class BaseHardhatGnosisContractWithDependencyTest(
        BaseContractWithDependencyTest, HardHatGnosisBaseTest)

Base test case for testing contracts with dependencies on Hardhat with Gnosis.

BaseHardhatAMMContractWithDependencyTest Objects

class BaseHardhatAMMContractWithDependencyTest(BaseContractWithDependencyTest,
                                               HardHatAMMBaseTest)

Base test case for testing AMM contracts with dependencies on Hardhat.