Ensure TestRetentionDef.test_invalid_retentions can't fall through

If there isn't an exception raised for any of the loops, it should
fail the test.