Fixes #329 outdated iOS version error

This commit is contained in:
tek
2023-02-14 11:51:38 -05:00
parent 8ce6b31299
commit 95842ac449
3 changed files with 44 additions and 5 deletions
+14
View File
@@ -0,0 +1,14 @@
# Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/
from mvt.ios.versions import is_ios_version_outdated
class TestIosVersions:
def test_is_ios_version_outdated(self):
assert is_ios_version_outdated("20B110") is True
assert is_ios_version_outdated("16.3") is True
assert is_ios_version_outdated("38.2") is False