Esempio n. 1
0
 def test_should_return_string_with_replaced_uri_characters(self):
     self.assertEqual(
         'foo_bar_boo', _replace_uri_specific_characters_with_underscores('foo://bar/boo'))
Esempio n. 2
0
 def test_should_return_string_with_replaced_colon_slash_slash(self):
     self.assertEqual(
         'foo_bar', _replace_uri_specific_characters_with_underscores('foo://bar'))
Esempio n. 3
0
 def test_should_return_given_string(self):
     self.assertEqual(
         'foobar', _replace_uri_specific_characters_with_underscores('foobar'))
 def test_should_return_string_with_replaced_uri_characters(self):
     self.assertEqual(
         'foo_bar_boo',
         _replace_uri_specific_characters_with_underscores('foo://bar/boo'))
 def test_should_return_string_with_replaced_colon_slash_slash(self):
     self.assertEqual(
         'foo_bar',
         _replace_uri_specific_characters_with_underscores('foo://bar'))
 def test_should_return_given_string(self):
     self.assertEqual(
         'foobar',
         _replace_uri_specific_characters_with_underscores('foobar'))