Metadata-Version: 1.1
Name: esc
Version: 0.1
Summary: Check HTTP response status
Home-page: https://github.com/nathforge/esc
Author: Nathan Reynolds
Author-email: email@nreynolds.co.uk
License: UNKNOWN
Description: =======================
        Esc: Expect Status Code
        =======================
        
        Checks your HTTP response has the expected status, throws an error if not:
        
        .. code:: python
        
          >>> response = esc.expect(404, requests.get("http://example.com"))
          esc.UnexpectedStatusCode: Expected one of HTTP 404, but http://example.com/ returned 200 with content: <!doctype html>
        
        
        Why?
        ====
        
        1. Status code checks are ever so slightly easier.
        2. Unit test failure messages are far more helpful.
        
        
        Supported libraries
        ===================
        
        Currently supports the following:
        
        - requests
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
