Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_adjust_iv():
iv = b'+^\xa5\x9a\xe1\x97p\x0f)\xf2\x10C'
after = b'+^\xa5\x9a\xe1\x97p\x0f)\xf2\x10C\x00\x00\x00\x02'
actual = cse._adjust_iv_for_range(iv, 0)
assert after == actual