Commit d5b2eb4e authored by Vincent Pelletier's avatar Vincent Pelletier

test: Simplify a bit.

parent c272414f
...@@ -2300,8 +2300,7 @@ class CaucaseTest(unittest.TestCase): ...@@ -2300,8 +2300,7 @@ class CaucaseTest(unittest.TestCase):
crt_list.append(row) crt_list.append(row)
continue continue
if row.startswith(REV_INSERT): # pragma: no cover if row.startswith(REV_INSERT): # pragma: no cover
if rev_found: assert not rev_found, 'Unexpected revocation found'
raise AssertionError('Unexpected revocation found')
continue continue
new_backup.append(row) new_backup.append(row)
return new_backup, crt_list return new_backup, crt_list
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment