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