Example #1
0
 def test_no_quotes(self):
     assert unquote_path('hello') == 'hello'
Example #2
0
 def test_uneven_quotes(self):
     assert unquote_path('"hello') == '"hello'
     assert unquote_path('hello"') == 'hello"'
Example #3
0
 def test_nested_quotes(self):
     assert unquote_path('""hello""') == '"hello"'
     assert unquote_path('"hel"lo"') == 'hel"lo'
     assert unquote_path('"hello""') == 'hello"'
Example #4
0
 def test_simple_quotes(self):
     assert unquote_path('"hello"') == 'hello'