Skip to content

Commit

Permalink
linting: black/isort
Browse files Browse the repository at this point in the history
  • Loading branch information
black-isort-bot committed Nov 14, 2021
1 parent 0f8b920 commit fcc1b29
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions tests/functional/scenario/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@

def test_filling_pdf_escape_pdf_form(tool_pdf_directory):
with open(os.path.join(tool_pdf_directory, "pdf_escape_expected.pdf"), "rb+") as f:
assert PyPDFForm2(
os.path.join(tool_pdf_directory, "pdf_escape.pdf")
).fill(
{
"test_1": "test_1",
"test_2": "test_2",
"test_3": "test_3",
"check_1": True,
"check_2": True,
"check_3": True,
"radio_1": 2,
}
).read() == f.read()
assert (
PyPDFForm2(os.path.join(tool_pdf_directory, "pdf_escape.pdf"))
.fill(
{
"test_1": "test_1",
"test_2": "test_2",
"test_3": "test_3",
"check_1": True,
"check_2": True,
"check_3": True,
"radio_1": 2,
}
)
.read()
== f.read()
)

0 comments on commit fcc1b29

Please sign in to comment.