Skip to content

Commit

Permalink
Tests uploading a list of paths
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Dec 12, 2014
1 parent 8d9c5fc commit d02d758
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,17 @@ def test_put_unicode(self):
[b'dossi\xC3\xA9',
b'dossi\xC3\xA9/bien rang\xC3\xA9',
b'dossi\xC3\xA9/bien rang\xC3\xA9/test'])
self.upload_test([u'cl\xE9/dossi\xE9/bien rang\xE9',
u'cl\xE9/r\xE9mi'], True,
[b'bien rang\xC3\xA9',
b'bien rang\xC3\xA9/test',
b'r\xC3\xA9mi'])
self.upload_test([u'cl\xE9/dossi\xE9',
u'cl\xE9/r\xE9mi'], True,
[b'dossi\xC3\xA9',
b'dossi\xC3\xA9/bien rang\xC3\xA9',
b'dossi\xC3\xA9/bien rang\xC3\xA9/test',
b'r\xC3\xA9mi'])


if __name__ == '__main__':
Expand Down

0 comments on commit d02d758

Please sign in to comment.