andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

Navigator restore path exception #221

Closed bjones1 closed 10 years ago

bjones1 commented 10 years ago

On the lastest master, running tests:

======================================================================
FAIL: test_1 (test_plugins.test_file_browser.Test)
Restore path
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\bjones\Documents\enki_all\enki\tests\test_core\..\test_plugins\
test_file_browser.py", line 30, in test_1
    self.assertEqual(dock.currentPath(), path)
AssertionError: u'C:/Users/bjones/AppData/Local' != 'c:\\users\\bjones\\appdata\
\local'

----------------------------------------------------------------------

Looks like using Python's path compare functions is necessary on Windows, not just a straight string compare...