# Path: tackerclient/tacker/v1_0/nfvo/vnffg.py
# _VNFFG = 'vnffg'
# _NFP = 'nfp'
# _SFC = 'sfc'
# _FC = 'classifier'
# class ListFC(tackerV10.ListCommand):
# class ShowFC(tackerV10.ShowCommand):
# class ListSFC(tackerV10.ListCommand):
# class ShowSFC(tackerV10.ShowCommand):
# class ListNFP(tackerV10.ListCommand):
# class ShowNFP(tackerV10.ShowCommand):
# class ListVNFFG(tackerV10.ListCommand):
# class ShowVNFFG(tackerV10.ShowCommand):
# class CreateVNFFG(tackerV10.CreateCommand):
# class UpdateVNFFG(tackerV10.UpdateCommand):
# class DeleteVNFFG(tackerV10.DeleteCommand):
#     def extend_list(self, data, parsed_args):
#     def add_known_arguments(self, parser):
#     def args2body(self, parsed_args):
#     def add_known_arguments(self, parser):
#     def args2body(self, parsed_args):
#     def add_known_arguments(self, parser):
#     def args2body(self, parsed_args):
# 
# Path: tackerclient/tests/unit/test_cli10.py
# API_VERSION = "1.0"
# FORMAT = 'json'
# TOKEN = 'testtoken'
# ENDURL = 'localurl'
# def capture_std_streams():
#     def __init__(self):
#     def write(self, text):
#     def make_string(self):
#     def __init__(self, status_code, headers=None, reason=None):
#     def __init__(self, _stdout):
# def end_url(path, query=None, format=FORMAT):
#     def __init__(self, lhs, client):
#     def equals(self, rhs):
#     def __str__(self):
#     def __repr__(self):
#     def __eq__(self, rhs):
#     def __ne__(self, rhs):
#     def __init__(self, lhs, client):
#     def _com_dict(self, lhs, rhs):
#     def _com_list(self, lhs, rhs):
#     def _com(self, lhs, rhs):
#     def equals(self, rhs):
#     def __repr__(self):
#     def __eq__(self, rhs):
#     def __ne__(self, rhs):
#     def _find_resourceid(self, client, resource, name_or_id):
#     def setUp(self, plurals={}):
#     def _test_create_resource(self, resource, cmd,
#                               name, myid, args,
#                               position_names, position_values, mock_get,
#                               tenant_id=None, get_client_called_count=1,
#                               tags=None, admin_state_up=True, extra_body=None,
#                               **kwargs):
#     def _test_list_columns(self, cmd, resources_collection,
#                            resources_out, mock_get,
#                            args=['-f', 'json']):
#     def _test_list_resources(self, resources, cmd, detail=False, tags=[],
#                              fields_1=[], fields_2=[], page_size=None,
#                              sort_key=[], sort_dir=[], response_contents=None,
#                              base_args=None, path=None,
#                              template_source=None):
#     def _test_list_sub_resources(self, resources, api_resource, cmd, myid,
#                                  mock_get, detail=False,
#                                  tags=[], fields_1=[], fields_2=[],
#                                  page_size=None, sort_key=[], sort_dir=[],
#                                  response_contents=None, base_args=None,
#                                  path=None):
#     def _test_update_resource(self, resource, cmd, myid, args, extrafields,
#                               mock_get, get_client_called_count=1):
#     def _test_show_resource(self, resource, cmd, myid, args, fields=[]):
#     def _test_delete_resource(self, resource, cmd, myid, args, mock_get):
#     def _test_update_resource_action(self, resource, cmd, myid, action, args,
#                                      body, mock_get, retval=None):
#     def test_do_request_unicode(self):
#     def test_do_request_error_without_response_body(self):
#     def _test_exception_handler_v10(
#             self, expected_exception, status_code, expected_msg,
#             error_type=None, error_msg=None, error_detail=None,
#             error_content=None):
#     def test_exception_handler_v10_ip_address_in_use(self):
#     def test_exception_handler_v10_tacker_known_error(self):
#     def test_exception_handler_v10_tacker_known_error_without_detail(self):
#     def test_exception_handler_v10_unknown_error_to_per_code_exception(self):
#     def test_exception_handler_v10_tacker_unknown_status_code(self):
#     def test_exception_handler_v10_bad_tacker_error(self):
#     def test_exception_handler_v10_error_dict_contains_message(self):
#     def test_exception_handler_v10_error_dict_not_contain_message(self):
#     def test_exception_handler_v10_default_fallback(self):
#     def test_exception_handler_v10_tacker_etsi_error(self):
# class FakeStdout(object):
# class MyResp(object):
# class MyApp(object):
# class MyUrlComparator(object):
# class MyComparator(object):
# class CLITestV10Base(testtools.TestCase):
# class ClientV1TestJson(CLITestV10Base):
# class CLITestV10ExceptionHandler(CLITestV10Base):


import sys
from tackerclient.common import utils
from tackerclient.tacker.v1_0.nfvo import vnffg
from tackerclient.tests.unit import test_cli10
# Copyright 2014 Intel Corporation
# All Rights Reserved.
#
#
#    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.



API_VERSION = "1.0"
FORMAT = 'json'
TOKEN = 'testtoken'
ENDURL = 'localurl'



# Path: tackerclient/tacker/v1_0/nfvo/vnffg.py
# _VNFFG = 'vnffg'
# _NFP = 'nfp'
# _SFC = 'sfc'
# _FC = 'classifier'
# class ListFC(tackerV10.ListCommand):
# class ShowFC(tackerV10.ShowCommand):
# class ListSFC(tackerV10.ListCommand):
# class ShowSFC(tackerV10.ShowCommand):
# class ListNFP(tackerV10.ListCommand):
# class ShowNFP(tackerV10.ShowCommand):
# class ListVNFFG(tackerV10.ListCommand):
# class ShowVNFFG(tackerV10.ShowCommand):
# class CreateVNFFG(tackerV10.CreateCommand):
# class UpdateVNFFG(tackerV10.UpdateCommand):
# class DeleteVNFFG(tackerV10.DeleteCommand):
#     def extend_list(self, data, parsed_args):
#     def add_known_arguments(self, parser):
#     def args2body(self, parsed_args):
#     def add_known_arguments(self, parser):
#     def args2body(self, parsed_args):
#     def add_known_arguments(self, parser):
#     def args2body(self, parsed_args):
# 
# Path: tackerclient/tests/unit/test_cli10.py
# API_VERSION = "1.0"
# FORMAT = 'json'
# TOKEN = 'testtoken'
# ENDURL = 'localurl'
# def capture_std_streams():
#     def __init__(self):
#     def write(self, text):
#     def make_string(self):
#     def __init__(self, status_code, headers=None, reason=None):
#     def __init__(self, _stdout):
# def end_url(path, query=None, format=FORMAT):
#     def __init__(self, lhs, client):
#     def equals(self, rhs):
#     def __str__(self):
#     def __repr__(self):
#     def __eq__(self, rhs):
#     def __ne__(self, rhs):
#     def __init__(self, lhs, client):
#     def _com_dict(self, lhs, rhs):
#     def _com_list(self, lhs, rhs):
#     def _com(self, lhs, rhs):
#     def equals(self, rhs):
#     def __repr__(self):
#     def __eq__(self, rhs):
#     def __ne__(self, rhs):
#     def _find_resourceid(self, client, resource, name_or_id):
#     def setUp(self, plurals={}):
#     def _test_create_resource(self, resource, cmd,
#                               name, myid, args,
#                               position_names, position_values, mock_get,
#                               tenant_id=None, get_client_called_count=1,
#                               tags=None, admin_state_up=True, extra_body=None,
#                               **kwargs):
#     def _test_list_columns(self, cmd, resources_collection,
#                            resources_out, mock_get,
#                            args=['-f', 'json']):
#     def _test_list_resources(self, resources, cmd, detail=False, tags=[],
#                              fields_1=[], fields_2=[], page_size=None,
#                              sort_key=[], sort_dir=[], response_contents=None,
#                              base_args=None, path=None,
#                              template_source=None):
#     def _test_list_sub_resources(self, resources, api_resource, cmd, myid,
#                                  mock_get, detail=False,
#                                  tags=[], fields_1=[], fields_2=[],
#                                  page_size=None, sort_key=[], sort_dir=[],
#                                  response_contents=None, base_args=None,
#                                  path=None):
#     def _test_update_resource(self, resource, cmd, myid, args, extrafields,
#                               mock_get, get_client_called_count=1):
#     def _test_show_resource(self, resource, cmd, myid, args, fields=[]):
#     def _test_delete_resource(self, resource, cmd, myid, args, mock_get):
#     def _test_update_resource_action(self, resource, cmd, myid, action, args,
#                                      body, mock_get, retval=None):
#     def test_do_request_unicode(self):
#     def test_do_request_error_without_response_body(self):
#     def _test_exception_handler_v10(
#             self, expected_exception, status_code, expected_msg,
#             error_type=None, error_msg=None, error_detail=None,
#             error_content=None):
#     def test_exception_handler_v10_ip_address_in_use(self):
#     def test_exception_handler_v10_tacker_known_error(self):
#     def test_exception_handler_v10_tacker_known_error_without_detail(self):
#     def test_exception_handler_v10_unknown_error_to_per_code_exception(self):
#     def test_exception_handler_v10_tacker_unknown_status_code(self):
#     def test_exception_handler_v10_bad_tacker_error(self):
#     def test_exception_handler_v10_error_dict_contains_message(self):
#     def test_exception_handler_v10_error_dict_not_contain_message(self):
#     def test_exception_handler_v10_default_fallback(self):
#     def test_exception_handler_v10_tacker_etsi_error(self):
# class FakeStdout(object):
# class MyResp(object):
# class MyApp(object):
# class MyUrlComparator(object):
# class MyComparator(object):
# class CLITestV10Base(testtools.TestCase):
# class ClientV1TestJson(CLITestV10Base):
# class CLITestV10ExceptionHandler(CLITestV10Base):


# Path: tackerclient/tests/unit/vm/test_cli10_vnffg.py
import sys
from tackerclient.common import utils
from tackerclient.tacker.v1_0.nfvo import vnffg
from tackerclient.tests.unit import test_cli10

# Copyright 2014 Intel Corporation
# All Rights Reserved.
#
#
#    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.



API_VERSION = "1.0"
FORMAT = 'json'
TOKEN = 'testtoken'
ENDURL = 'localurl'



class CLITestV10VmVNFFGJSON(test_cli10.CLITestV10Base):