Skip to content

Commit

Permalink
Don't use enum in pytest parametrize pt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinchuk committed May 29, 2024
1 parent ce68fec commit 36d00ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_handlers_transmission.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ def test_cost_calculation(i, trans_costs, distance, gid, trans_table):
assert true_cost == trans_cost


@pytest.mark.parametrize(('trans_costs', SupplyCurveField.CAPACITY,
SupplyCurveField.GID),
@pytest.mark.parametrize(('trans_costs', "capacity", "gid"),
((TRANS_COSTS_1, 350, 43300),
(TRANS_COSTS_2, 350, 43300),
(TRANS_COSTS_1, 100, 43300),
Expand Down

0 comments on commit 36d00ef

Please sign in to comment.