diff --git a/tests/run_tests.py b/tests/run_tests.py index 2bba0ed..207eb3d 100644 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -1292,6 +1292,11 @@ def test_dependent_load_flag_and_header_checksum2(self): check_call(['delvewheel', 'repair', '--add-path', 'simpleext/x64', '--no-mangle-all', 'simpleext/simpleext-0.0.1-0dlf_cs-cp312-cp312-win_amd64.whl']) self.assertTrue(import_simpleext_successful('0dlf_cs')) + def test_signed(self): + """Authenticode signature is removed""" + check_call(['delvewheel', 'repair', '--add-path', 'simpleext/x64', 'simpleext/simpleext-0.0.1-0sign-cp312-cp312-win_amd64.whl']) + self.assertTrue(import_simpleext_successful('0sign')) + class NeededTestCase(unittest.TestCase): """Tests for delvewheel needed""" diff --git a/tests/simpleext/simpleext-0.0.1-0sign-cp312-cp312-win_amd64.whl b/tests/simpleext/simpleext-0.0.1-0sign-cp312-cp312-win_amd64.whl new file mode 100644 index 0000000..c325a09 Binary files /dev/null and b/tests/simpleext/simpleext-0.0.1-0sign-cp312-cp312-win_amd64.whl differ