Skip to content

Commit

Permalink
Fix params for test
Browse files Browse the repository at this point in the history
  • Loading branch information
4lm committed Sep 14, 2019
1 parent e3c69bc commit 8185661
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/test_weighting_filter_r468.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,15 @@ def test_value_of_0_that_must_return_inf(hz, khz_option, returns):
("3khz", None),
(1, None),
(2.0, None),
("3khz", "wrong_string_value"),
(1, 123),
(2.0, 1.23),
("1khz", "wrong_string_value"),
("1khz", 123),
("1khz", 1.23),
("2khz", "wrong_string_value"),
("2khz", 123),
("2khz", 1.23),
],
)
def test_wrong_khz_option_that_must_raise_value_error(khz_option, returns):
def test_wrong_options_that_must_raise_value_error(khz_option, returns):
if returns is None:
with pytest.raises(ValueError):
r468(1, khz_option)
Expand Down

0 comments on commit 8185661

Please sign in to comment.