Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Make tests runnable in the normal way #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kevindaum
Copy link

Added an if __name__ == '__main__' so that tests run when running
python tests.py on the command line, like on
http://flask.pocoo.org/docs/0.10/testing/#testing.

Added an `if __name__ == '__main__'` so that tests run when running
`python tests.py` on the command line, like on
http://flask.pocoo.org/docs/0.10/testing/#testing.
kevindaum pushed a commit to kevindaum/watttime-webhook-demo that referenced this pull request Apr 5, 2016
In case the user doesn't notice, there are tests for sending emails.

Note: WattTime#1 must be
merged before these instructions will work.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants