We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8480b95 commit 0f52d8bCopy full SHA for 0f52d8b
1 file changed
tests/integration/test_cli.py
@@ -310,15 +310,6 @@ def test_version(self):
310
)
311
self.assertTrue(re.fullmatch(user_agent_regex, version_output))
312
313
- def test_version_does_not_create_cache_directory(self):
314
- # Regression test: --version should not create any files/directories.
315
- with tempfile.TemporaryDirectory() as tmpdir:
316
- env = os.environ.copy()
317
- env['HOME'] = tmpdir
318
- aws('--version', env_vars=env)
319
- aws_dir = os.path.join(tmpdir, '.aws')
320
- self.assertFalse(os.path.exists(aws_dir))
321
-
322
def test_version_with_exec_env(self):
323
base_env_vars = os.environ.copy()
324
base_env_vars['AWS_EXECUTION_ENV'] = 'an_execution_env'
0 commit comments