Fix test failure on missing JobContext
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# along with OCRmyPDF. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from ocrmypdf.pdfinfo import PdfInfo, PageInfo
|
||||
from ocrmypdf.pipeline import JobContext, JobContextManager
|
||||
from ocrmypdf._jobcontext import JobContext, JobContextManager
|
||||
from multiprocessing import Process
|
||||
from multiprocessing.managers import BaseProxy
|
||||
|
||||
@@ -59,4 +59,4 @@ def test_jobcontext_proxy(resources):
|
||||
p.join()
|
||||
assert p.exitcode == 0, "Child process failed"
|
||||
|
||||
assert context.get_pdfinfo()[0].rotation == 180
|
||||
assert context.get_pdfinfo()[0].rotation == 180
|
||||
|
||||
Reference in New Issue
Block a user