Add shell.test_key to whitelist and fix wart

This commit is contained in:
Daniel Wozniak 2018-10-01 17:09:20 -07:00 committed by Daniel A. Wozniak
parent e5edff4154
commit 48275c0072
No known key found for this signature in database
GPG key ID: 166B9D2C06C82D61
2 changed files with 6 additions and 0 deletions

View file

@ -256,6 +256,9 @@ class KeyTest(ShellCase, ShellCaseCommonTestsMixin):
for fname in key_names:
self.assertTrue(os.path.isfile(os.path.join(tempdir, fname)))
finally:
for dirname, dirs, files in os.walk(tempdir):
for filename in files:
os.chmod(os.path.join(dirname, filename), 0o700)
shutil.rmtree(tempdir)
def test_keys_generation_keysize_minmax(self):

View file

@ -79,6 +79,9 @@ integration.shell.test_call
integration.shell.test_cloud
integration.shell.test_cp
integration.shell.test_enabled
integration.shell.test_key
integration.shell.test_master
integration.shell.test_master_tops
integration.states.test_host
integration.states.test_pip_state
integration.states.test_pkg