MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / test_git_object_eq

Function test_git_object_eq

tests/test_git.py:27–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26
27def test_git_object_eq():
28 git_commit = git.GitCommit(
29 rev="sha1-code", title="this is title", body="this is body"
30 )
31 git_tag = git.GitTag(rev="sha1-code", name="0.0.1", date="2020-01-21")
32
33 assert git_commit == git_tag
34 assert git_commit != "sha1-code"
35
36
37def test_get_tags(util: UtilFixture):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected