Expected 2 blank lines but only one
Surround top-level function and class definitions with two blank lines. PEP 8: expected 2 blank lines, found 1 Change-Id: Ifc7eb671d63b5551e22573fac8a7697bc4838f5a
This commit is contained in:
parent
da86670d13
commit
6151c2904a
@ -15,6 +15,7 @@ import os
|
||||
import logging
|
||||
import shutil
|
||||
|
||||
|
||||
class Connmon(object):
|
||||
|
||||
def __init__(self, config):
|
||||
|
@ -30,6 +30,7 @@ except ImportError:
|
||||
ostag = None
|
||||
from collections import deque
|
||||
|
||||
|
||||
class Yoda(WorkloadBase.WorkloadBase):
|
||||
|
||||
def __init__(self, config):
|
||||
|
@ -268,6 +268,7 @@ class BrowbeatGnocchi(scenario.OpenStackScenario):
|
||||
def _status_get(self, gnocchi_client, detailed=False):
|
||||
return gnocchi_client.status.get(detailed)
|
||||
|
||||
|
||||
@context.configure(name="browbeat_gnocchi_metric_list", order=350)
|
||||
class BrowbeatGnocchiMetricList(context.Context):
|
||||
"""Grabs list of metric ids from Gnocchi for use with getting aggregates/measures."""
|
||||
|
@ -26,6 +26,7 @@ from Elastic import Elastic
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class BrowbeatPlugin(neutron_utils.NeutronScenario,
|
||||
vm_utils.VMScenario,
|
||||
scenario.Scenario):
|
||||
|
@ -16,6 +16,7 @@ from rally.plugins.openstack.scenarios.nova import utils as nova_utils
|
||||
from rally.task import types
|
||||
from rally.task import validation
|
||||
|
||||
|
||||
@types.convert(image={"type": "glance_image"},
|
||||
flavor={"type": "nova_flavor"})
|
||||
@validation.image_valid_on_flavor("flavor", "image")
|
||||
|
@ -15,6 +15,7 @@ from rally.plugins.openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally.task import types
|
||||
from rally.task import validation
|
||||
|
||||
|
||||
class BrowbeatPlugin(neutron_utils.NeutronScenario,
|
||||
scenario.Scenario):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user