Testing

Here’s how to run TinyAPI’s tests:

Install the testing dependencies

pip install nose
pip install coverage

Tell TinyAPI which account to use

export TINYAPI_TEST_USERNAME="tinyapi-test-account"
export TINYAPI_TEST_PASSWORD="XXXXXXXX"

Run the tests

nosetests --with-coverage --cover-erase --cover-package tinyapi