Esempio n. 1
0
def test_is_version_valid_strict_wrong_versions(installed_version,
                                                expected_version):
    assert not _is_version_valid(installed_version=installed_version,
                                 expected_version=expected_version,
                                 match_exact_version=True)
Esempio n. 2
0
def test_is_version_valid(installed_version, expected_version):
    assert _is_version_valid(installed_version=installed_version,
                             expected_version=expected_version,
                             match_exact_version=False)