diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-07-12 11:26:55 +0300 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-11-23 19:26:36 +0100 |
commit | 36d13cb75dbcf321a3e882f4b3378f4833404294 (patch) | |
tree | 565490dd39d88b04c475dda19671be91713af33e /tests/04_test_submodules.py | |
parent | 8bc79214f5e8dc4dfe8307a1caf8464464727493 (diff) |
GitRepository/get_submodules: use correct path
By default, run git in the repo path, not current cwd. Also, now returns
submodule paths without leading './'.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'tests/04_test_submodules.py')
-rw-r--r-- | tests/04_test_submodules.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/04_test_submodules.py b/tests/04_test_submodules.py index f40bc4d1..efcc9aaa 100644 --- a/tests/04_test_submodules.py +++ b/tests/04_test_submodules.py @@ -90,7 +90,7 @@ def test_has_submodules(): def test_get_submodules(): """Check for submodules list of (name, hash)""" modules = repo.get_submodules("master")[0] - assert modules[0] == './test_submodule' + assert modules[0] == 'test_submodule' assert len(modules[1]) == 40 |