Add modules docstrings in snaps
authorLinda Wang <wangwulin@huawei.com>
Mon, 5 Feb 2018 04:05:22 +0000 (04:05 +0000)
committerLinda Wang <wangwulin@huawei.com>
Mon, 5 Feb 2018 04:05:22 +0000 (04:05 +0000)
JIRA: FUNCTEST-922

Change-Id: I058486427fe55e1d1ce939fce20d75ff7afde85c
Signed-off-by: Linda Wang <wangwulin@huawei.com>
functest/opnfv_tests/openstack/snaps/api_check.py
functest/opnfv_tests/openstack/snaps/health_check.py
functest/opnfv_tests/openstack/snaps/smoke.py
functest/opnfv_tests/openstack/snaps/snaps_suite_builder.py
functest/opnfv_tests/openstack/snaps/snaps_test_runner.py
functest/opnfv_tests/openstack/snaps/snaps_utils.py

index e8b9c32..b8cd4fd 100644 (file)
@@ -8,7 +8,7 @@
 #
 # http://www.apache.org/licenses/LICENSE-2.0
 
-# pylint: disable=missing-docstring
+"""api_check test case implementation"""
 
 import unittest
 
index db882c3..8a88ac6 100644 (file)
@@ -8,7 +8,7 @@
 #
 # http://www.apache.org/licenses/LICENSE-2.0
 
-# pylint: disable=missing-docstring
+"""snaps_health_check test case implementation"""
 
 import unittest
 
index ef6e5dc..bc67811 100644 (file)
@@ -8,7 +8,7 @@
 #
 # http://www.apache.org/licenses/LICENSE-2.0
 
-# pylint: disable=missing-docstring
+"""snaps_smoke test case implementation"""
 
 import unittest
 
index c3d8c2d..ab7b368 100644 (file)
@@ -8,7 +8,13 @@
 #
 # http://www.apache.org/licenses/LICENSE-2.0
 
-# pylint: disable=missing-docstring
+"""
+Snaps test suite including openstack client tests, api tests and
+integration tests.
+add_openstack_client_tests: for connection_check
+add_openstack_api_tests: for api_check
+add_openstack_integration_tests: for snaps_smoke
+"""
 
 import logging
 
index a2dadb7..9d31f42 100644 (file)
@@ -8,7 +8,7 @@
 #
 # http://www.apache.org/licenses/LICENSE-2.0
 
-# pylint: disable=missing-docstring
+"""configuration params to run snaps tests"""
 
 import logging
 
index e2f75c3..6bc50ad 100644 (file)
@@ -7,7 +7,7 @@
 #
 # http://www.apache.org/licenses/LICENSE-2.0
 
-# pylint: disable=missing-docstring
+"""Some common utils wrapping snaps functions """
 
 from functest.utils.constants import CONST