Skip to content

Manually Running Tests

If needed, you can invoke pytest directly from the root python/ directory for custom workflows:

Terminal window
source .env/bin/activate
pytest -v

Python GLIDE supports both trio and asyncio. Pass the --async-backend flag to pytest with either trio, asyncio or uvloop to run tests on the specified async backend. You can pass multiple async backends to run tests on all of them.

Example:

Terminal window
source .env/bin/activate
pytest -v --async-backend=trio --async-backend=asyncio