bittensor icon indicating copy to clipboard operation
bittensor copied to clipboard

Pytest Asyncio Not Marked As Such

Open thewhaleking opened this issue 1 month ago • 0 comments

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

thewhaleking avatar May 21 '24 16:05 thewhaleking