We're updating the issue view to help you get more done. 

Error in syncFromSynapse() integration test on Windows

Description

The paths stored in the result from syncFromSynapse() have
'/' instead of '\' on Windows.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_synapseutils.py ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This function tests recursive download as defined in syncFromSynapse ... ################################################## Uploading file to Synapse storage ################################################## Uploading [####################]100.00% 1.6kB/1.6kB (1.8kB/s) tmpwsfop1.txt Do ne... ################################################## Uploading file to Synapse storage ################################################## Uploading [####################]100.00% 1.6kB/1.6kB (1.7kB/s) tmpjan7yz.txt Do ne... ################################################## Uploading file to Synapse storage ################################################## Uploading [####################]100.00% 1.6kB/1.6kB (1.5kB/s) tmpt3mkyw.txt Do ne... c:/users/admini~1/appdata/local/temp/2/tmpjan7yz.txt [u'c:\\users\\admini~1\\appdata\\local\\temp\\2\\tmpwsfop1.txt', u'c:\\users\\ad mini~1\\appdata\\local\\temp\\2\\tmpjan7yz.txt', u'c:\\users\\admini~1\\appdata\ \local\\temp\\2\\tmpt3mkyw.txt'] FAIL ====================================================================== FAIL: This function tests recursive download as defined in syncFromSynapse ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\administrator\virtualenvs\py27\lib\site-packages\nose\case.py", line 197, in runTest self.test(*self.arg) File "C:\Users\Administrator\src\synapsePythonClient\tests\integration\test_sy napseutils.py", line 481, in test_syncFromSynapse assert f.path in uploaded_paths AssertionError

Environment

Status

Assignee

Xavier Schildwachter

Reporter

Xavier Schildwachter

Validator

Larsson Omberg

Fix versions

Affects versions

py-1.6

Priority

Major