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].
python setup.py nosetestsor simply
nosetestsin the source directory. With the
devextra, coverage will be shown, and
toxcan also 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.