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

Changeset 1958

Show
Ignore:
Timestamp:
05/15/08 00:44:09
Author:
fumanchu
Message:

Fixed a test for HTTP/1.0.

Files:

Legend:

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

    r1919 r1958  
    130130        self.assertStatus((302, 303)) 
    131131        self.assertHeader('Location', '%s/docroot/' % self.base()) 
    132         self.assertBody("This resource can be found at <a href='%s/docroot/'>" 
    133                         "%s/docroot/</a>." % (self.base(), self.base())) 
     132        self.assertMatchesBody("This resource .* at <a href='%s/docroot/'>" 
     133                               "%s/docroot/</a>." % (self.base(), self.base())) 
    134134     
    135135    def test_config_errors(self): 

Hosted by WebFaction

Log in as guest/cpguest to create tickets