Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seidnerj committed Dec 7, 2024
1 parent 1ca5f50 commit 818a60f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from unittest.mock import call, patch, Mock

from ..lib.conversion import ConversionWorker
from ..lib.ebook import Ebooks
from ..lib.ebook import Ebook


module_name = 'calibre_plugins.ebook_translator.lib.conversion'
Expand All @@ -18,7 +18,7 @@ def setUp(self):
self.worker.db = Mock()
self.worker.api = Mock()

self.ebook = Mock(Ebooks.Ebook)
self.ebook = Mock(Ebook)
self.job = Mock()
self.worker.working_jobs = {
self.job: (self.ebook, str(Path('/path/to/test.epub')))}
Expand Down

0 comments on commit 818a60f

Please sign in to comment.