MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / test_rev_info_from_config

Function test_rev_info_from_config

tests/commands/autoupdate_test.py:63–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62
63def test_rev_info_from_config():
64 info = RevInfo.from_config({'repo': 'repo/path', 'rev': 'v1.2.3'})
65 assert info == RevInfo('repo/path', 'v1.2.3', None)
66
67
68def test_rev_info_update_up_to_date_repo(up_to_date):

Callers

nothing calls this directly

Calls 2

RevInfoClass · 0.90
from_configMethod · 0.45

Tested by

no test coverage detected