Pytest-Assembly
A pytest plugin to run tests for Smart Contracts on Assembly. For examples of comprehensive tests, please see one of our example contracts; Auction, Chat
Works with Python 3.9.1+
Usage
Note: A running network is required to run tests, a local development network can be started easily with the sym tool.
pytest my_contract_test.py \
--contract-path path/to/contracts/to/be/tested path/to/other_contracts/to/be/tested\
--connection-file $HOME/.symbiont/assembly-dev/dev-network/default/network-config.json \
-vvv -s --skip-consistency-check
Documentation about how to write pytests for Assembly smart contracts can be found on the Symbiont Customer Portal
Metadata
Release files for symbiont-io.pytest-assembly 4.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| symbiont_io.pytest_assembly-4.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / symbiont_io.pytest_assembly-4.1.0-py3-none-any.whl
| Download URL | symbiont_io.pytest_assembly-4.1.0-py3-none-any.whl |
|---|---|
| Size | 21.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
278b00cfbb9e2038855c2ceb5f8035314e844ade86c197fda6eaa166122235ce
|
|
BLAKE2b-256 checksum How to use checksums |
c66a438b554448eaf04a6a33bdffd8950d7fc6a3fade5a16714b2462915632f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.1
|