Pytest-cairo

Latest version: v0.0.5

Safety actively analyzes 623282 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.5

Some minor fixes and changes for compatibility with cairo-lang==0.8.1.

0.0.4

Introduces helper functions for more complex test scenarios:
- `deploy_contract`
- `set_block_number`
- `set_block_timestamp`
- `set_caller_address`
- `set_contract_address`
- `impersonate` (`set_caller_address` + `set_contract_address`)

0.0.3

Introduces the `raises` attribute for asserting expected exceptions are raised.

**Full Changelog**: https://github.com/TimNooren/pytest-cairo/compare/v0.0.2...v0.0.3

0.0.2

Roll back state changes between tests.

**Full Changelog**: https://github.com/TimNooren/pytest-cairo/compare/v0.0.1...v0.0.2

0.0.1

Pass dummy arguments to contract constructor when deploying contract to run tests.

0.0.0

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.