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

Function test_bugfix_string

tests/pytests/unit/test_version.py:369–376  ·  view source on GitHub ↗

test when bugfix is an empty string

()

Source from the content-addressed store, hash-verified

367
368
369def test_bugfix_string():
370 """
371 test when bugfix is an empty string
372 """
373 ret = SaltStackVersion(3000, 1, "", 0, 0, None)
374 assert ret.info == (3000, 1)
375 assert ret.minor == 1
376 assert ret.bugfix is None
377
378
379@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

SaltStackVersionClass · 0.90

Tested by

no test coverage detected