diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-04-30 09:35:05 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-04-30 09:35:05 +0200 |
commit | 8ed5f05aad03b42d8b1a5a1cab5344a0048be3f7 (patch) | |
tree | 30105e1457cc7c045aef7573af295fbc047f565a /functest/opnfv_tests/openstack/snaps/health_check.py | |
parent | 90238c6c2c6b8c63062f3fe1c1611d594d72604b (diff) |
Fix pylint warnings in snaps
Pylint only warns about missing module docstrings now.
Change-Id: I989ff800cd2628fed80a2d3510ef37ce2876cbd4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/snaps/health_check.py')
-rw-r--r-- | functest/opnfv_tests/openstack/snaps/health_check.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/functest/opnfv_tests/openstack/snaps/health_check.py b/functest/opnfv_tests/openstack/snaps/health_check.py index 44e3b876..c057eb2b 100644 --- a/functest/opnfv_tests/openstack/snaps/health_check.py +++ b/functest/opnfv_tests/openstack/snaps/health_check.py @@ -30,8 +30,7 @@ class HealthCheck(SnapsTestRunner): image_custom_config = None if hasattr(CONST, 'snaps_health_check'): - image_custom_config = CONST.snaps_health_check - + image_custom_config = CONST.__getattribute__('snaps_health_check') self.suite.addTest( OSIntegrationTestCase.parameterize( SimpleHealthCheck, os_creds=self.os_creds, |