summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/04_test_submodules.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/04_test_submodules.py b/tests/04_test_submodules.py
index a18f8b5..deb389d 100644
--- a/tests/04_test_submodules.py
+++ b/tests/04_test_submodules.py
@@ -87,6 +87,8 @@ def test_add_submodule():
def test_has_submodules():
"""Check for submodules"""
ok_(REPO.has_submodules())
+ ok_(REPO.has_submodules('HEAD'))
+ ok_(not REPO.has_submodules('HEAD^'))
def test_get_submodules():