Skip to content

Commit

Permalink
Add exception for build 22G91
Browse files Browse the repository at this point in the history
  • Loading branch information
np5 committed Sep 8, 2023
1 parent b21a399 commit a9d0579
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/inventory/test_macos_build_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def test_ok(self):
("22F770820b", ("macOS", 13, 4, 1, "(a)"), "macOS 13.4.1 (a) (22F770820b)"),
("22F770820d", ("macOS", 13, 4, 1, "(c)"), "macOS 13.4.1 (c) (22F770820d)"),
("22G90", ("macOS", 13, 5, 1, None), "macOS 13.5.1 (22G90)"),
("22G91", ("macOS", 13, 5, 2, None), "macOS 13.5.2 (22G91)"),
):
expected_version_d = {
"name": name,
Expand Down
2 changes: 1 addition & 1 deletion zentral/contrib/inventory/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def macos_version_from_build(build):
if build in ("21A558", "21A559", "21D62", "21E258", "21G83", "21G217",
"22A400", "22D68", "22E261", "22E772610a", "22F82", "22F770820b", "22F770820d", "22G90"):
patch = 1
elif build in ("21G309", "21G320"):
elif build in ("21G309", "21G320", "22G91"):
patch = 2
elif build in ("21G417", "21G419"):
patch = 3
Expand Down

0 comments on commit a9d0579

Please sign in to comment.