diff --git a/tests/olevba/test_basic.py b/tests/olevba/test_basic.py index 798fba5..c5c19bf 100644 --- a/tests/olevba/test_basic.py +++ b/tests/olevba/test_basic.py @@ -28,12 +28,13 @@ class TestOlevbaBasic(unittest.TestCase): CRYPT_DIR = join(DATA_BASE_DIR, 'encrypted') CRYPT_RETURN_CODE = 9 ADD_ARGS = [], ['-d', ], ['-a', ], ['-j', ], ['-t', ] - EXCEPTIONS = ['autostart-encrypt-standardpassword.xlsm', # These ... - 'autostart-encrypt-standardpassword.xlsb', # files ... - 'dde-test-encrypt-standardpassword.xls', # are ... - 'dde-test-encrypt-standardpassword.xlsx', # decrypted - 'dde-test-encrypt-standardpassword.xlsm', # per ... - 'dde-test-encrypt-standardpassword.xlsb'] # default. + EXCEPTIONS = ['autostart-encrypt-standardpassword.xls', # These ... + 'autostart-encrypt-standardpassword.xlsm', # files ... + 'autostart-encrypt-standardpassword.xlsb', # are ... + 'dde-test-encrypt-standardpassword.xls', # automati... + 'dde-test-encrypt-standardpassword.xlsx', # ...cally... + 'dde-test-encrypt-standardpassword.xlsm', # decrypted. + 'dde-test-encrypt-standardpassword.xlsb'] for filename in os.listdir(CRYPT_DIR): if filename in EXCEPTIONS: continue diff --git a/tests/test-data/encrypted/autostart-encrypt-standardpassword.xls b/tests/test-data/encrypted/autostart-encrypt-standardpassword.xls new file mode 100755 index 0000000..65c2ac7 --- /dev/null +++ b/tests/test-data/encrypted/autostart-encrypt-standardpassword.xls