python: modernize usage of assert_()

Authored by pino on Feb 8 2019, 9:23 PM.

Description

python: modernize usage of assert_()

Switch away from the deprecated assert_(), using the more appropriate
versions: assertTrue(), assertEqual(), assertNotEqual(), and assertIn().
Because of this, split a few 'cond1 and cond2' asserts into multiple
checks.

While doing all the changes, try to not exceed 80 columns.

Details

Committed
pinoFeb 8 2019, 9:23 PM
Parents
R514:73104079db5b: python: PEP8 empty lines
Branches
Unknown
Tags
Unknown