From 0b85ec4faf6cfc63e02a7264e9f09bec077f936f Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Thu, 3 Sep 2026 23:05:16 +0200 Subject: [PATCH] Test SuperWoW inherited patch normalization --- tests/test_safety.py | 113 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) diff --git a/tests/test_safety.py b/tests/test_safety.py index fe3eb64..b8d3112 100644 --- a/tests/test_safety.py +++ b/tests/test_safety.py @@ -812,6 +812,119 @@ class SmartUpdateTests(unittest.TestCase): self.assertEqual(revision, "abcdef1234567890") download.assert_not_called() + def test_superwow_reset_removes_inherited_vanilla_tweaks_patches(self): + tool = WowSetupTool.__new__(WowSetupTool) + size = 0x435D3C + 16 + data = bytearray(size) + + data[0x0C1ECF] = 0x75 + data[0x0C2B25] = 0x75 + data[0x3A4869] = 0x27 + data[0x4089B4:0x4089B8] = struct.pack("