# Path: acos_client/v30/slb/port.py
# class Port(base.BaseV30):
#     def create(self, server_name, port, protocol, max_retries=None, timeout=None,
#                conn_resume=None, conn_limit=None, stats_data_action="stats-data-enable",
#                weight=1, range=0, action="enable", **kwargs):
#     def update(self, server_name, port, protocol, max_retries=None, timeout=None,
#                conn_resume=None, conn_limit=None, stats_data_action="stats-data-enable",
#                weight=1, range=0, action="enable", **kwargs):
#     def delete(self, server_name, port, protocol, **kwargs):
#     def _set(self, server_name, port, protocol, conn_resume=None, conn_limit=None,
#              stats_data_action="stats-data-enable", weight=1, range=0, action="enable"):


    import unittest
    import mock
    import unittest2 as unittest
    from unittest import mock
from acos_client.v30.slb import port
#    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 __future__ import absolute_import
from __future__ import unicode_literals

try:
except ImportError:



class TestPort(unittest.TestCase):
    def setUp(self):
        self.client = mock.MagicMock()

# Path: acos_client/v30/slb/port.py
# class Port(base.BaseV30):
#     def create(self, server_name, port, protocol, max_retries=None, timeout=None,
#                conn_resume=None, conn_limit=None, stats_data_action="stats-data-enable",
#                weight=1, range=0, action="enable", **kwargs):
#     def update(self, server_name, port, protocol, max_retries=None, timeout=None,
#                conn_resume=None, conn_limit=None, stats_data_action="stats-data-enable",
#                weight=1, range=0, action="enable", **kwargs):
#     def delete(self, server_name, port, protocol, **kwargs):
#     def _set(self, server_name, port, protocol, conn_resume=None, conn_limit=None,
#              stats_data_action="stats-data-enable", weight=1, range=0, action="enable"):


# Path: acos_client/tests/unit/v30/test_port.py
    import unittest
    import mock
    import unittest2 as unittest
    from unittest import mock
from acos_client.v30.slb import port

#    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 __future__ import absolute_import
from __future__ import unicode_literals

try:
except ImportError:



class TestPort(unittest.TestCase):
    def setUp(self):
        self.client = mock.MagicMock()

        self.port = port.Port(self.client)