Skip to content

Commit 238a579

Browse files
committed
adding test to check git hash
1 parent 210882c commit 238a579

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nipype/tests/test_nipype.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from .. import get_info
2+
from ..info import get_nipype_gitversion
23

34

45
def test_nipype_info():
@@ -10,5 +11,6 @@ def test_nipype_info():
1011
assert exception_not_raised
1112

1213

13-
# def test_fail_always():
14-
# assert False
14+
def test_git_hash():
15+
#removing the first "g" from gitversion
16+
get_nipype_gitversion()[1:] == get_info()['commit_hash']

0 commit comments

Comments
 (0)