These steps outline how to run tests for Tweepy:
Download Tweepy’s source code to a directory.
Install from the downloaded source with the
pip install .[test]. Optionally install the
devextra as well, for
pip install .[dev,test].
Run tests (e.g.
python -m unittest discover tests) in the source directory. With the
devextra, coverage can be measured by using
coverage run -m unittest discover tests) and
toxcan be run to test different Python versions.
To record new cassettes, the following environment variables can be used:
False and provide the app and account
credentials and username.
Tweepy’s contributors can be identified through the GitHub repository’s contributors graph page, commit history, issues, pull requests, and discussions.