Conditions | 2 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | # pyre-strict |
||
84 | def test_clean(self) -> None: |
||
1 ignored issue
–
show
|
|||
85 | for example_text in EXAMPLE_TEXTS: |
||
1 ignored issue
–
show
|
|||
86 | text = PaymentText(example_text['input']) |
||
1 ignored issue
–
show
|
|||
87 | |||
88 | text.clean() |
||
1 ignored issue
–
show
|
|||
89 | |||
90 | self.assertEqual( |
||
1 ignored issue
–
show
|
|||
91 | str(text), |
||
92 | example_text['expected_output'], |
||
93 | ) |
||
98 |
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.