Skip to content

Commit

Permalink
changed from one to multiple parameterize decorators
Browse files Browse the repository at this point in the history
Co-authored-by: crnh <30109443+crnh@users.noreply.github.com>
  • Loading branch information
LucVV and crnh authored Jul 25, 2023
1 parent 420dcd0 commit a1fa854
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/analyses/test_polarization.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@


class TestGetNumberField:
@pytest.mark.parametrize(
@pytest.mark.parametrize("sign", _signs)
@pytest.mark.parametrize("number", _int_numbers)
@pytest.mark.parametrize("exp", _exps)
def test_get_number_field_returns_correct_result_for_integers(self, sign, number, exp):
...
"number_string", [_sign + _number + _exp for _sign in _signs for _number in _int_numbers for _exp in _exps]
)
def test_get_number_field_returns_correct_result_for_integers(self, number_string):
Expand Down

0 comments on commit a1fa854

Please sign in to comment.