-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix import issues: Add missing functions and correct class names
Co-authored-by: AF-Warsame <201992579+AF-Warsame@users.noreply.github.com>
- Loading branch information
2 people
authored and
copilot-swe-agent[bot]
committed
Sep 27, 2025
1 parent
f386165
commit 727ada6
Showing
7 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
from acmecli.cache import SimpleCache | ||
from acmecli.cache import InMemoryCache | ||
|
||
def test_cache_set_get(): | ||
cache = SimpleCache() | ||
cache = InMemoryCache() | ||
cache.set("foo", "bar") | ||
assert cache.get("foo") == "bar" | ||
|
||
def test_cache_miss(): | ||
cache = SimpleCache() | ||
cache = InMemoryCache() | ||
assert cache.get("missing") is None |