コード例 #1
0
ファイル: loggingtools_tests.py プロジェクト: Woi/yadtshell
 def test_should_return_string_with_replaced_uri_characters(self):
     self.assertEqual(
         'foo_bar_boo', _replace_uri_specific_characters_with_underscores('foo://bar/boo'))
コード例 #2
0
ファイル: loggingtools_tests.py プロジェクト: Woi/yadtshell
 def test_should_return_string_with_replaced_colon_slash_slash(self):
     self.assertEqual(
         'foo_bar', _replace_uri_specific_characters_with_underscores('foo://bar'))
コード例 #3
0
ファイル: loggingtools_tests.py プロジェクト: Woi/yadtshell
 def test_should_return_given_string(self):
     self.assertEqual(
         'foobar', _replace_uri_specific_characters_with_underscores('foobar'))
コード例 #4
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'))
コード例 #5
0
 def test_should_return_string_with_replaced_colon_slash_slash(self):
     self.assertEqual(
         'foo_bar',
         _replace_uri_specific_characters_with_underscores('foo://bar'))
コード例 #6
0
 def test_should_return_given_string(self):
     self.assertEqual(
         'foobar',
         _replace_uri_specific_characters_with_underscores('foobar'))