13 lines
172 B
Python
13 lines
172 B
Python
import fpdf
|
|
import pytest
|
|
|
|
from test.utils.pdf import pdf_stream
|
|
|
|
|
|
@pytest.fixture
|
|
def pdf():
|
|
pdf = fpdf.FPDF(unit="pt")
|
|
pdf.add_page()
|
|
|
|
return pdf_stream(pdf)
|