Replace assert statements in PipelineRules 43/60443/1
authorMiikka Koistinen <miikka.koistinen@nokia.com>
Tue, 31 Jul 2018 14:03:10 +0000 (17:03 +0300)
committerMiikka Koistinen <miikka.koistinen@nokia.com>
Tue, 31 Jul 2018 14:11:41 +0000 (17:11 +0300)
commit6e0e8fde5efc85e57cf4021991ec2d17298eaf3d
tree2bd094057277ac2a83c62c0a03f105a2724f18e8
parent8a52d114404a03b4adbb49ff7f221819502bf672
Replace assert statements in PipelineRules

The class PipelineRules uses assert statements to check the correctness
of an input parameter IP address. This commit will modify these lines
to use a dedicated function "common.utils.make_ipv4_address".

JIRA: YARDSTICK-966

Change-Id: I1c4cc439a7716d36548125c87dfb0bc200714a56
Signed-off-by: Miikka Koistinen <miikka.koistinen@nokia.com>
yardstick/common/utils.py
yardstick/network_services/pipeline.py
yardstick/tests/unit/common/test_utils.py