Change assert statements to raises in CheckValue 85/60285/2
authorMiikka Koistinen <miikka.koistinen@nokia.com>
Fri, 27 Jul 2018 13:53:51 +0000 (16:53 +0300)
committerMiikka Koistinen <miikka.koistinen@nokia.com>
Tue, 31 Jul 2018 08:58:19 +0000 (11:58 +0300)
commit5cd6c9a939b060946e1b38e2c2597a5bbac82024
treee67c0b0aeceda494e7bb760b143775a6a2cbad40
parent8a52d114404a03b4adbb49ff7f221819502bf672
Change assert statements to raises in CheckValue

* Instead of using assert statements, raise a custom exception.
* Modify the unit tests so that they do not test unused parameters for
  equality.
* Fix pylint and pep8 errors.

JIRA: YARDSTICK-966

Change-Id: I41e13a5a22086827792eaf9de8da2e4ed6dd42de
Signed-off-by: Miikka Koistinen <miikka.koistinen@nokia.com>
yardstick/benchmark/scenarios/lib/check_value.py
yardstick/common/exceptions.py
yardstick/tests/unit/benchmark/scenarios/lib/test_check_value.py