Merge "Read user & password from yardstick.conf in Grafana configuration"
[yardstick.git] / yardstick / cmd / commands / scenario.py
index 6aa3a45..0e3f2c3 100644 (file)
@@ -9,24 +9,26 @@
 
 """ Handler for yardstick command 'scenario' """
 
+from __future__ import print_function
+from __future__ import absolute_import
 from yardstick.benchmark.core.scenario import Scenarios
 from yardstick.common.utils import cliargs
 from yardstick.cmd.commands import change_osloobj_to_paras
 
 
-class ScenarioCommands(object):
-    '''Scenario commands.
+class ScenarioCommands(object):     # pragma: no cover
+    """Scenario commands.
 
        Set of commands to discover and display scenario types.
-    '''
+    """
 
     def do_list(self, args):
-        '''List existing scenario types'''
+        """List existing scenario types"""
         param = change_osloobj_to_paras(args)
         Scenarios().list_all(param)
 
     @cliargs("type", type=str, help="runner type", nargs=1)
     def do_show(self, args):
-        '''Show details of a specific scenario type'''
+        """Show details of a specific scenario type"""
         param = change_osloobj_to_paras(args)
         Scenarios().show(param)