Check this out: https://nose.readthedocs.org/en/latest/writing_tests.html

Useful to not setup and kill http server in every test