Skip to content

Commit 0f52d8b

Browse files
committed
Remove integration test that verified cache is not created for the aws --version.
1 parent 8480b95 commit 0f52d8b

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

tests/integration/test_cli.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -310,15 +310,6 @@ def test_version(self):
310310
)
311311
self.assertTrue(re.fullmatch(user_agent_regex, version_output))
312312

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-
322313
def test_version_with_exec_env(self):
323314
base_env_vars = os.environ.copy()
324315
base_env_vars['AWS_EXECUTION_ENV'] = 'an_execution_env'

0 commit comments

Comments
 (0)