semvec/pypi-packages huggingface dataset:
urltest 0.2.3
A wrapper around WebTest which provides a nice domain specific language for testing URLs in WSGI applications
License: MIT License
Keywords: wsgi testing urls

#!/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)