def testExtractValueEnd(self): val = static.extractValue('/test.shtml?bla=test','bla')
def testExtractValueMiddle(self): val = static.extractValue('/test.shtml?bla=test&q=a','bla') self.assertEqual(val, 'test')