diff --git a/testenv/conf/expected_files.py b/testenv/conf/expected_files.py index 4e3ace95..98c2e836 100644 --- a/testenv/conf/expected_files.py +++ b/testenv/conf/expected_files.py @@ -24,9 +24,9 @@ class ExpectedFiles: snapshot = {} for parent, dirs, files in os.walk('.'): for name in files: - # pubring.kbx will be created by libgpgme if $HOME doesn't contain the .gnupg directory. - # setting $HOME to CWD (in base_test.py) breaks two Metalink tests, so we skip this file here. - if name == 'pubring.kbx': + # pubring.kbx, dirmngr.conf, gpg.conf will be created by libgpgme if $HOME doesn't contain the .gnupg directory. + # setting $HOME to CWD (in base_test.py) breaks two Metalink tests, so we skip this file here. + if name in [ 'pubring.kbx', 'dirmngr.conf', 'gpg.conf' ]: continue f = {'content': ''}