skip to navigation
skip to content

urltest 0.2.3

A wrapper around WebTest which provides a nice domain specific language for testing URLs in WSGI applications

#!/usr/bin/env python

from example_app import application
from urltest import verify_urls

if __name__ == "__main__":
    urls = (
        {'url':"/", 'code':200},
        {'url':"/bob", 'code':200},
        {'url':"/jim", 'code':404},
        {'url':"/jim", 'method': "POST", 'code':405},
        )
    verify_urls(urls, application)
File Type Py Version Uploaded on Size # downloads
urltest-0.2.3-py2.5.egg (md5) Python Egg 2.5 2009-07-01 17:38:35.314361 14KB 85
urltest-0.2.3.tar.gz (md5) Source 2009-07-01 17:38:27.103681 5KB 85

Log in to rate this package.