Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 678

Show
Ignore:
Timestamp:
09/25/05 17:41:32
Author:
fumanchu
Message:

webtest assertHeader now coerces the value arg to a string before comparing.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/test/webtest.py

    r555 r678  
    240240        for k, v in self.headers: 
    241241            if k.lower() == lowkey: 
    242                 if value is None or value == v: 
     242                if value is None or str(value) == v: 
    243243                    return 
    244244         

Hosted by WebFaction

Log in as guest/cpguest to create tickets