def test_normalisation(self): # Test URL normalisation. self.assertEqual(normaliseURL('http://example.com//bar/baz&baz'), u'http://example.com/bar/baz&baz')
def test_normalisation(self): # Test URL normalisation. assert normaliseURL('http://example.com//bar/baz&baz') == \ u'http://example.com/bar/baz&baz'