3b9fcede72
And there's a lot of tests no passing that I let commanted to someone can jump in and try to fix these drivers. Change-Id: Ic81d69735f5c7b227f62ff566e43552fa03ffc50
76 lines
2.1 KiB
Python
76 lines
2.1 KiB
Python
# -*- encoding: utf-8 -*-
|
|
#
|
|
# 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.
|
|
|
|
from . import acl
|
|
from . import alarm
|
|
from . import compute_duration_by_resource
|
|
from . import list_events
|
|
from . import list_meters
|
|
from . import list_resources
|
|
from . import post_samples
|
|
from . import statistics
|
|
|
|
|
|
class TestAPIAcl(acl.TestAPIACL):
|
|
database_connection = 'mongodb://__test__'
|
|
|
|
|
|
class TestListEvents(list_events.TestListEvents):
|
|
database_connection = 'mongodb://__test__'
|
|
|
|
|
|
class TestListEmptyAlarms(alarm.TestListEmptyAlarms):
|
|
database_connection = 'mongodb://__test__'
|
|
|
|
|
|
class TestAlarms(alarm.TestAlarms):
|
|
database_connection = 'mongodb://__test__'
|
|
|
|
|
|
class TestComputeDurationByResource(
|
|
compute_duration_by_resource.TestComputeDurationByResource):
|
|
database_connection = 'mongodb://__test__'
|
|
|
|
|
|
class TestListEmptyMeters(list_meters.TestListEmptyMeters):
|
|
database_connection = 'mongodb://__test__'
|
|
|
|
|
|
class TestListMeters(list_meters.TestListMeters):
|
|
database_connection = 'mongodb://__test__'
|
|
|
|
|
|
class TestListResources(list_resources.TestListResources):
|
|
database_connection = 'mongodb://__test__'
|
|
|
|
|
|
class TestMaxProjectVolume(statistics.TestMaxProjectVolume):
|
|
database_connection = 'mongodb://__test__'
|
|
|
|
|
|
class TestMaxResourceVolume(statistics.TestMaxResourceVolume):
|
|
database_connection = 'mongodb://__test__'
|
|
|
|
|
|
class TestSumProjectVolume(statistics.TestSumProjectVolume):
|
|
database_connection = 'mongodb://__test__'
|
|
|
|
|
|
class TestSumResourceVolume(statistics.TestSumProjectVolume):
|
|
database_connection = 'mongodb://__test__'
|
|
|
|
|
|
class TestPostSamples(post_samples.TestPostSamples):
|
|
database_connection = 'mongodb://__test__'
|