Skip to content

Commit

Permalink
Add test for Authenticode signature removal during name mangling
Browse files Browse the repository at this point in the history
  • Loading branch information
adang1345 committed Aug 19, 2024
1 parent 142c253 commit 542f114
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down
Binary file not shown.

0 comments on commit 542f114

Please sign in to comment.