Skip to content

Commit

Permalink
Merge pull request #632 from chinapandaman/PPF-631
Browse files Browse the repository at this point in the history
PPF-631: fix test names
  • Loading branch information
chinapandaman authored May 13, 2024
2 parents 0371807 + 443fff3 commit 5a4984f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions tests/scenario/test_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ def test_reduce_paragraph_overflow_text_font_size(issue_pdf_directory, request):
assert obj.read() == expected


def test_PPF_627_schema(issue_pdf_directory):
def test_ppf_627_schema(issue_pdf_directory):
obj = PdfWrapper(os.path.join(issue_pdf_directory, "PPF-627.pdf"))

assert obj.schema["properties"]["S1 GF 7"]["maximum"] == 3


def test_PPF_627_fill_0(issue_pdf_directory, request):
def test_ppf_627_fill_0(issue_pdf_directory, request):
obj = PdfWrapper(os.path.join(issue_pdf_directory, "PPF-627.pdf")).fill(
{"S1 GF 7": 0}
)
Expand All @@ -172,7 +172,7 @@ def test_PPF_627_fill_0(issue_pdf_directory, request):
assert obj.read() == expected


def test_PPF_627_fill_1(issue_pdf_directory, request):
def test_ppf_627_fill_1(issue_pdf_directory, request):
obj = PdfWrapper(os.path.join(issue_pdf_directory, "PPF-627.pdf")).fill(
{"S1 GF 7": 1}
)
Expand All @@ -186,7 +186,7 @@ def test_PPF_627_fill_1(issue_pdf_directory, request):
assert obj.read() == expected


def test_PPF_627_fill_2(issue_pdf_directory, request):
def test_ppf_627_fill_2(issue_pdf_directory, request):
obj = PdfWrapper(os.path.join(issue_pdf_directory, "PPF-627.pdf")).fill(
{"S1 GF 7": 2}
)
Expand All @@ -200,7 +200,7 @@ def test_PPF_627_fill_2(issue_pdf_directory, request):
assert obj.read() == expected


def test_PPF_627_fill_3(issue_pdf_directory, request):
def test_ppf_627_fill_3(issue_pdf_directory, request):
obj = PdfWrapper(os.path.join(issue_pdf_directory, "PPF-627.pdf")).fill(
{"S1 GF 7": 3}
)
Expand Down
8 changes: 4 additions & 4 deletions tests/scenario/test_issues_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def test_encrypted_edit_pdf_form(issue_pdf_directory, pdf_samples, request):
assert obj.stream == expected


def test_PPF_627_fill_0(issue_pdf_directory, pdf_samples, request):
def test_ppf_627_fill_0(issue_pdf_directory, pdf_samples, request):
expected_path = os.path.join(
pdf_samples, "simple", "scenario", "issues", "PPF-627-expected-0.pdf"
)
Expand All @@ -210,7 +210,7 @@ def test_PPF_627_fill_0(issue_pdf_directory, pdf_samples, request):
assert obj.stream == expected


def test_PPF_627_fill_1(issue_pdf_directory, pdf_samples, request):
def test_ppf_627_fill_1(issue_pdf_directory, pdf_samples, request):
expected_path = os.path.join(
pdf_samples, "simple", "scenario", "issues", "PPF-627-expected-1.pdf"
)
Expand All @@ -228,7 +228,7 @@ def test_PPF_627_fill_1(issue_pdf_directory, pdf_samples, request):
assert obj.stream == expected


def test_PPF_627_fill_2(issue_pdf_directory, pdf_samples, request):
def test_ppf_627_fill_2(issue_pdf_directory, pdf_samples, request):
expected_path = os.path.join(
pdf_samples, "simple", "scenario", "issues", "PPF-627-expected-2.pdf"
)
Expand All @@ -246,7 +246,7 @@ def test_PPF_627_fill_2(issue_pdf_directory, pdf_samples, request):
assert obj.stream == expected


def test_PPF_627_fill_3(issue_pdf_directory, pdf_samples, request):
def test_ppf_627_fill_3(issue_pdf_directory, pdf_samples, request):
expected_path = os.path.join(
pdf_samples, "simple", "scenario", "issues", "PPF-627-expected-3.pdf"
)
Expand Down

0 comments on commit 5a4984f

Please sign in to comment.