Skip to content

Commit

Permalink
update test for python 3.10+
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo-arenas committed Jul 28, 2023
1 parent 10861fd commit be85e7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyworkforce/queuing/tests/test_multi_erlang.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ def test_expected_multierlangc_wrong_arguments():

with pytest.raises(Exception) as excinfo:
results = erlang.required_positions(arguments_grid=arguments_grid)[0]
assert str(excinfo.value) == "required_positions() missing 1 required positional argument: 'service_level'"
assert str(excinfo.value) in ["required_positions() missing 1 required positional argument: 'service_level'",
"ErlangC.required_positions() missing 1 required positional argument: 'service_level'"]


def test_multierlangc_wrong_grid():
Expand Down

0 comments on commit be85e7d

Please sign in to comment.