bittensor
bittensor copied to clipboard
Pytest Asyncio Not Marked As Such
The following tests are skipped when running Pytest because they are async but not marked with @pytest.mark.asyncio
:
unit_tests/test_axon.py
:
async def test_verify_body_integrity_happy_path
async def test_verify_body_integrity_edge_cases
async def test_verify_body_integrity_error_cases
If adding @pytest.mark.asyncio
to them all, two pass, but one (test_verify_body_integrity_edge_cases
) fails.
Needs investigating.
AC:
- [ ] tests are no longer skipped
- [ ] tests are passing