We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a94361 commit a62354fCopy full SHA for a62354f
tests/test_git.py
@@ -1,3 +1,6 @@
1
+import inspect
2
+from typing import List, Optional, Union
3
+
4
import pytest
5
6
from commitizen import git
@@ -68,3 +71,9 @@ def test_get_commits_author_and_email():
68
71
69
72
assert commit.author is not ""
70
73
assert "@" in commit.author_email
74
75
76
+def test_get_tag_names_has_correct_arrow_annotation():
77
+ arrow_annotation = inspect.getfullargspec(git.get_tag_names).annotations["return"]
78
79
+ assert arrow_annotation == List[Optional[str]]
0 commit comments