tests: update logged error test to use integer division (#36515)

This commit is contained in:
Frédéric Péters 2019-11-16 18:48:15 +01:00
parent b79a1f5fbc
commit 7d7cea05a6
1 changed files with 1 additions and 1 deletions

View File

@ -5438,7 +5438,7 @@ def test_logged_errors(pub):
jump = JumpWorkflowStatusItem()
jump.id = '_jump'
jump.status = 'rejected'
jump.condition = {'type': 'python', 'value': '1/0'} # ZeroDivisionError
jump.condition = {'type': 'python', 'value': '1//0'} # ZeroDivisionError
st1 = workflow.possible_status[0]
st1.items.insert(0, jump)
jump.parent = st1