MCPcopy Index your code
hub / github.com/saltstack/salt / test_string_new_version

Function test_string_new_version

tests/pytests/unit/test_version.py:170–179  ·  view source on GitHub ↗

Validate string property method using new versioning scheme

()

Source from the content-addressed store, hash-verified

168
169
170def test_string_new_version():
171 """
172 Validate string property method
173 using new versioning scheme
174 """
175 maj_ver = "3000"
176 ver = SaltStackVersion(major=maj_ver)
177 assert not ver.minor
178 assert not ver.bugfix
179 assert maj_ver == ver.string
180
181
182def test_string_new_version_minor():

Callers

nothing calls this directly

Calls 1

SaltStackVersionClass · 0.90

Tested by

no test coverage detected