Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Merge branch 'FS-3789-implement-shared-answer-class' of https://githu…
Browse files Browse the repository at this point in the history
…b.com/communitiesuk/digital-form-builder into FS-3789-implement-shared-answer-class
  • Loading branch information
Adam-W1 committed Jan 23, 2024
2 parents 70f0514 + 9348a90 commit 50bb0bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ tsconfig.tsbuildinfo
docs/**/typedoc
.venv

__pycache__/
__pycache__/
6 changes: 3 additions & 3 deletions python/tests/test_MultiInputField.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_as_pdf(answer, expected_result):
_TEST_OUTPUTS = [
[
["Test Value for Money CYP Form FIRST", "£678.00", "March 2024", "Capital"],
["Test Value for Money CYP Form SECOND", "£678.00", "April 2024", "Capital"]
["Test Value for Money CYP Form SECOND", "£678.00", "April 2024", "Capital"],
],
[
[
Expand All @@ -89,7 +89,7 @@ def test_as_pdf(answer, expected_result):
None,
None,
]
]
],
]


Expand Down Expand Up @@ -121,4 +121,4 @@ def test_as_pdf_multi_input(answer, expected_answers):
answer_displayers = MultiInputFieldDisplayer(answer).as_pdf
for index, answer_displayer_dict in enumerate(answer_displayers):
for key, expected_answer in zip(answer_displayer_dict, expected_answers[index]):
assert answer_displayer_dict[key].as_pdf == expected_answer
assert answer_displayer_dict[key].as_pdf == expected_answer

0 comments on commit 50bb0bc

Please sign in to comment.