Skip to content

Commit

Permalink
Check what happens when test fails
Browse files Browse the repository at this point in the history
  • Loading branch information
sklimasz committed Feb 17, 2024
1 parent 16064fd commit f960fae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roll_sim/tests/test_headliners.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ def rolldown(conf, **kwargs):
avg_rolls = sim.roll(**kwargs)
return avg_rolls

def test_fail():
assert 1 == 0

def test_conf_no_level(incorrect_conf_no_level):
conf = incorrect_conf_no_level
with pytest.raises(ValueError):
Expand All @@ -40,6 +43,9 @@ def test_simple_rolldown(level8_executioner):
avg_rolls = rolldown(conf=conf)
assert 3 < avg_rolls < 15

def test_fail():
assert 1 == 0

def test_bad_luck_rules(level8_executioner):
conf = level8_executioner
avg_rolls_with_rules = rolldown(conf=conf)
Expand Down

0 comments on commit f960fae

Please sign in to comment.