We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c0f3ca commit 2ec6924Copy full SHA for 2ec6924
tests/test_agnostic_backend.py
@@ -44,3 +44,8 @@ def test_current_platform_cache_roundtrip_with_alias_class(temp_location):
44
def test_persisted_token_cache(temp_location):
45
_test_token_cache_roundtrip(PersistedTokenCache(FilePersistence(temp_location)))
46
47
+def test_file_not_found_error_is_not_raised():
48
+ persistence = FilePersistence('non_existing_file')
49
+ cache = PersistedTokenCache(persistence=persistence)
50
+ # An exception raised here will fail the test case as it is supposed to be a NO-OP
51
+ cache.find('')
0 commit comments