Ignore:
Timestamp:
04/04/07 17:37:01 (13 years ago)
Author:
szabolcs
Message:

fixed #1299 spent 3h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/testPiece.py

    r415 r1624  
    6161        path = ob.absolute_url_path()+'/view' 
    6262        result = self.publish(path).getBody() 
    63         self.failUnless(re.search("Explanation of Level Double-A Conformance", result), "WCAG log not found? It may be possible that user doesn't have access to view object.") 
     63        self.failUnless(result.find("Explanation of Level Double-A Conformance") != -1, "WCAG log not found? It may be possible that user doesn't have access to view object.") 
    6464 
    6565def test_suite(): 
Note: See TracChangeset for help on using the changeset viewer.