diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2011-06-13 16:17:57 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2011-06-13 16:17:57 +0200 |
commit | 9e4a44b302d3a3e49aa014062b42de84480a8d4f (patch) | |
tree | a44c2aaf8289801dd73ab5ac1eccedf88cc9d4cf /git/test/test_submodule.py | |
parent | 9b6f38d02c8ed1fb07eb6782b918f31efc4c42f3 (diff) | |
download | gitpython-9e4a44b302d3a3e49aa014062b42de84480a8d4f.tar.gz |
fixed submodule test to work on windows
Diffstat (limited to 'git/test/test_submodule.py')
-rw-r--r-- | git/test/test_submodule.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/git/test/test_submodule.py b/git/test/test_submodule.py index cc35caf5..eb8a606a 100644 --- a/git/test/test_submodule.py +++ b/git/test/test_submodule.py @@ -344,8 +344,9 @@ class TestSubmodule(TestBase): abspmp = nsm.abspath assert nsm.move(nmp) is nsm nmp = nmp[:-1] # cut last / - assert nsm.path == nmp - assert rwrepo.submodules[0].path == nmp + nmpl = to_native_path_linux(nmp) + assert nsm.path == nmpl + assert rwrepo.submodules[0].path == nmpl mpath = 'newsubmodule' absmpath = join_path_native(rwrepo.working_tree_dir, mpath) |