summaryrefslogtreecommitdiff
path: root/git/test/test_submodule.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/test_submodule.py')
-rw-r--r--git/test/test_submodule.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_submodule.py b/git/test/test_submodule.py
index 3d78d067..17ce605a 100644
--- a/git/test/test_submodule.py
+++ b/git/test/test_submodule.py
@@ -697,7 +697,7 @@ class TestSubmodule(TestBase):
# submodules are retrieved from the current commit's tree, therefore we can't really get a new submodule
# object pointing to the new submodule commit
- sm_too = parent.submodules[0]
+ sm_too = parent.submodules['module_moved']
assert parent.head.commit.tree[sm.path].binsha == sm.binsha
assert sm_too.binsha == sm.binsha, "cached submodule should point to the same commit as updated one"