aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/snaps/connection_check.py
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2018-01-29 13:46:50 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-01-29 13:46:50 +0000
commit0f31a0dca579840145a3bcbbfff070ae4ae95115 (patch)
treeced977b982d8fac940a017cf54c6bc5ddcbe76aa /functest/opnfv_tests/openstack/snaps/connection_check.py
parent630a31629bffd6d881faf2e3ea3a849b4143c103 (diff)
parent52da4424869eecd428c29a41f1699e6e00767055 (diff)
Merge "Fix warnings in all snaps-related modules"
Diffstat (limited to 'functest/opnfv_tests/openstack/snaps/connection_check.py')
-rw-r--r--functest/opnfv_tests/openstack/snaps/connection_check.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/snaps/connection_check.py b/functest/opnfv_tests/openstack/snaps/connection_check.py
index 1fc49349..f8bf8852 100644
--- a/functest/opnfv_tests/openstack/snaps/connection_check.py
+++ b/functest/opnfv_tests/openstack/snaps/connection_check.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# Copyright (c) 2017 Cable Television Laboratories, Inc. and others.
#
# This program and the accompanying materials
@@ -6,6 +8,8 @@
#
# http://www.apache.org/licenses/LICENSE-2.0
+# pylint: disable=missing-docstring
+
import unittest
from functest.opnfv_tests.openstack.snaps import snaps_suite_builder
@@ -37,4 +41,4 @@ class ConnectionCheck(SnapsTestRunner):
os_creds=self.os_creds,
ext_net_name=self.ext_net_name,
use_keystone=self.use_keystone)
- return super(self.__class__, self).run()
+ return super(ConnectionCheck, self).run()