| Conditions | 2 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # pyre-strict |
||
| 10 | def test_clean(self) -> None: |
||
|
1 ignored issue
–
show
|
|||
| 11 | for example_text in TEXTS: |
||
|
1 ignored issue
–
show
|
|||
| 12 | text = PaymentText(example_text['input']) |
||
|
1 ignored issue
–
show
|
|||
| 13 | |||
| 14 | text.clean() |
||
|
1 ignored issue
–
show
|
|||
| 15 | |||
| 16 | self.assertEqual( |
||
|
1 ignored issue
–
show
|
|||
| 17 | str(text), |
||
| 18 | example_text['expected_output'], |
||
| 19 | ) |
||
| 24 |
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.