mirror of
https://github.com/JockeTF/fimfarchive.git
synced 2025-02-08 14:56:44 +01:00
Minor description change in fetcher test
This commit is contained in:
parent
2015d184d8
commit
8cf81a14a2
1 changed files with 2 additions and 2 deletions
|
@ -240,9 +240,9 @@ class TestFimfarchiveFetcher:
|
||||||
with FimfarchiveFetcher(FIMFARCHIVE_PATH) as fetcher:
|
with FimfarchiveFetcher(FIMFARCHIVE_PATH) as fetcher:
|
||||||
yield fetcher
|
yield fetcher
|
||||||
|
|
||||||
def test_with_statment(self):
|
def test_closed_fetcher_raises_exception(self):
|
||||||
"""
|
"""
|
||||||
Tests fetcher can be used in with statements.
|
Tests `StorySourceError` is raised when fetcher is closed.
|
||||||
"""
|
"""
|
||||||
with FimfarchiveFetcher(FIMFARCHIVE_PATH) as fetcher:
|
with FimfarchiveFetcher(FIMFARCHIVE_PATH) as fetcher:
|
||||||
fetcher.lookup(VALID_STORY_KEY)
|
fetcher.lookup(VALID_STORY_KEY)
|
||||||
|
|
Loading…
Reference in a new issue