MCPcopy Index your code
hub / github.com/commitizen-tools/commitizen / test_from_str_with_decimal

Function test_from_str_with_decimal

tests/test_exceptions.py:6–10  ·  view source on GitHub ↗

Test from_str with decimal values.

()

Source from the content-addressed store, hash-verified

4
5
6def test_from_str_with_decimal():
7 """Test from_str with decimal values."""
8 assert ExitCode.from_str("0") == ExitCode.EXPECTED_EXIT
9 assert ExitCode.from_str("1") == ExitCode.NO_COMMITIZEN_FOUND
10 assert ExitCode.from_str("32") == ExitCode.COMMIT_MESSAGE_LENGTH_LIMIT_EXCEEDED
11
12
13def test_from_str_with_enum_name():

Callers

nothing calls this directly

Calls 1

from_strMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…