# Path: f5_heat/resources/f5_cm_sync.py
# class F5CmSync(resource.Resource, F5BigIPMixin):
#     PROPERTIES = (
#         BIGIP_SERVER,
#         DEVICE_GROUP,
#         DEVICE_GROUP_PARTITION
#     ) = (
#         'bigip_server',
#         'device_group',
#         'device_group_partition'
#     )
#     def handle_create(self):
#     def check_create_complete(self, token):
#     def handle_delete(self):
# def resource_mapping():


from f5_heat.resources import f5_cm_sync
from heat.common import exception
from heat.common import template_format
from heat.engine.hot.template import HOTemplate20150430
from heat.engine import rsrc_defn
from heat.engine import template
import mock
import pytest
# Copyright 2016 F5 Networks 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.
#



save_defn = '''
heat_template_version: 2015-04-30
resources:
  bigip_rsrc:
    type: F5::BigIP::Device
    properties:

# Path: f5_heat/resources/f5_cm_sync.py
# class F5CmSync(resource.Resource, F5BigIPMixin):
#     PROPERTIES = (
#         BIGIP_SERVER,
#         DEVICE_GROUP,
#         DEVICE_GROUP_PARTITION
#     ) = (
#         'bigip_server',
#         'device_group',
#         'device_group_partition'
#     )
#     def handle_create(self):
#     def check_create_complete(self, token):
#     def handle_delete(self):
# def resource_mapping():


# Path: f5_heat/resources/test/test_f5_cm_sync.py
from f5_heat.resources import f5_cm_sync
from heat.common import exception
from heat.common import template_format
from heat.engine.hot.template import HOTemplate20150430
from heat.engine import rsrc_defn
from heat.engine import template
import mock
import pytest

# Copyright 2016 F5 Networks 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.
#



save_defn = '''
heat_template_version: 2015-04-30
resources:
  bigip_rsrc:
    type: F5::BigIP::Device
    properties:

      ip: 10.0.0.1