Changeset 1932


Ignore:
Timestamp:
08/14/07 12:01:28 (12 years ago)
Author:
pjotr
Message:

Made a small fix to a test, our FAQ was one of the new materials and it has some MP3 text in it - so the test found it's MP allright and failed, not it oparates with [MP]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/testRSS.py

    r1684 r1932  
    9595        self.failUnless(result.find('rdf:resource') != -1, "Loading RSS-page seems to have failed, rdf:resources missing: %s" % path) 
    9696        self.failUnless(result.find('LR') != -1, "Learning resource-sign [LR] not found in what's new results. ") 
    97         self.failIf(result.find('MP') != -1, "Media Piece sign [MP] found in what's new results, but there aren't pieces here. ") 
     97        self.failIf(result.find('[MP]') != -1, "Media Piece sign [MP] found in what's new results, but there aren't pieces here. ") 
    9898         
    9999    def testSearchRSS(self): 
Note: See TracChangeset for help on using the changeset viewer.