group-based-policy/gbpservice/tests/functional/test_policy_mapping_driver.py
Sumit Naiksatam 84939e8228 Adding GBP integration and functional gate
This patch implements the hooks so that functional and integration
tests can be run in the group-based-policy repo.

Currently, the configured devstack for this job is enabled to run GBP
exercise scripts, which result in complete end-to-end integration
testing of the GBP service and client components along with integration
with Neutron and Nova.

A placeholder functional test case is also added. A functional test suite
will be added in a separate commit.

Change-Id: Id705e5755b9662f6e297f29836d6983d66f845a8
2015-03-28 12:36:53 -07:00

29 lines
1.0 KiB
Python

# 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.
# NOTE: The purpose of this module is to provide a nop test to verify that
# the functional gate is working.
from neutron.tests.functional import base as functional_base
class TestPolicyMappingDriver(functional_base.BaseSudoTestCase):
"""Test policy mapping driver."""
# NOTE: Tests may be added/removed/changed, when this is fleshed out
# in future commits.
def test_policy_target_group_create(self):
"""Test PTG creation."""
pass