Skip to content

Commit a1f3213

Browse files
[minor] Rename test variable
1 parent f543001 commit a1f3213

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/test_cache.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,12 @@ def test_cache_creation(self):
9191
"""
9292
Check that clone_to_cache creates directory if needed.
9393
"""
94-
description = "upkie_description"
95-
repo = REPOSITORIES[description]
94+
description_name = "simple_humanoid_description"
95+
repo = REPOSITORIES[description_name]
96+
9697
with tempfile.TemporaryDirectory() as tmp_dir:
9798
os.environ["ROBOT_DESCRIPTIONS_CACHE"] = tmp_dir
98-
clone_to_cache(description)
99+
clone_to_cache(description_name)
99100
self.assertTrue(
100101
os.path.exists(os.path.join(tmp_dir, repo.cache_path))
101102
)

0 commit comments

Comments
 (0)