Skip to content

Commit 8ba4b4a

Browse files
author
Shakeel Mohamed
committed
Added another test for special char handling
1 parent 16063f7 commit 8ba4b4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_binding.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ def test_context_with_owner_as_email(self):
377377
context = binding.connect(owner="[email protected]", **self.kwargs)
378378
path = context._abspath("foo")
379379
self.assertTrue(isinstance(path, UrlEncoded))
380+
self.assertEqual(path, "/servicesNS/me%40me.com/system/foo")
380381
self.assertEqual(path, UrlEncoded("/servicesNS/[email protected]/system/foo"))
381382

382383
# An urllib2 based HTTP request handler, used to test the binding layers

0 commit comments

Comments
 (0)