-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
49c78f4
commit 55a1ba8
Showing
3 changed files
with
267 additions
and
3 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from unittest.mock import MagicMock | ||
|
||
import pytest | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def mock_audible_plugin() -> MagicMock: | ||
out = MagicMock() | ||
out.config = { | ||
"fetch_art": True, | ||
"match_chapters": True, | ||
"source_weight": 0.0, | ||
"write_description_file": True, | ||
"write_reader_file": True, | ||
"include_narrator_in_artists": True, | ||
"goodreads_apikey": None, | ||
} | ||
return out |
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