Mohammed Naser 84bc653862 add usage API
Change-Id: Id6a688192277f9a58b13ca45d2596d375c5c187d
2020-09-04 15:50:36 -04:00

38 lines
1.1 KiB
Python

# Copyright 2020 VEXXHOST, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import pytest
from flask_sqlalchemy import SQLAlchemy
from atmosphere.app import create_app
from atmosphere.api import ingress
@pytest.fixture(params=[
'aggregate.cache_images.progress',
'compute_task.build_instances.error',
'compute.exception',
'flavor.create',
'keypair.create.end',
'libvirt.connect.error',
'metrics.update',
'scheduler.select_destinations.end',
'server_group.add_member',
'service.create',
'volume.usage',
])
def ignored_event(request):
yield request.param