# Path: neutron_taas/taas_client/tapflow.py
# def _add_updatable_args(parser):
# def _updatable_args2body(parsed_args, body):
#     def add_known_arguments(self, parser):
#     def args2body(self, parsed_args):
#     def add_known_arguments(self, parser):
#     def args2body(self, parsed_args):
# class TapFlow(extension.NeutronClientExtension):
# class ListTapFlow(extension.ClientExtensionList, TapFlow):
# class CreateTapFlow(extension.ClientExtensionCreate, TapFlow):
# class DeleteTapFlow(extension.ClientExtensionDelete, TapFlow):
# class ShowTapFlow(extension.ClientExtensionShow, TapFlow):
# class UpdateTapFlow(extension.ClientExtensionUpdate, TapFlow):


import sys
from unittest import mock
from neutron_taas.taas_client import tapflow
from neutronclient import shell
from neutronclient.tests.unit import test_cli20
        name = 'dummyTapFlow'
        description = 'Create a dummy tap flow'
        self._test_create_tap_flow(name=name,
                                   arg_attr=[
                                       '--name', name,
                                       '--description', description],
                                   name_attr=['name', 'description'],
                                   val_attr=[name, description])

    def test_delete_tap_flow(self):
        # Delete tap_flow: myid.
        cmd = tapflow.DeleteTapFlow(test_cli20.MyApp(sys.stdout), None)
        myid = 'myid'
        args = [myid]
        self._test_delete_resource(self.resource, cmd, myid, args)

    def test_update_tap_flow(self):
        # Update tap_flow: myid --name myname.
        cmd = tapflow.UpdateTapFlow(test_cli20.MyApp(sys.stdout), None)
        self._test_update_resource(self.resource, cmd, 'myid',
                                   ['myid', '--name', 'myname'],
                                   {'name': 'myname'})

    def test_list_tap_flows(self):
        # List tap_flows.
        cmd = tapflow.ListTapFlow(test_cli20.MyApp(sys.stdout), None)
        self._test_list_resources(self.resources, cmd, True)

    def test_show_tap_flow(self):
        # Show tap_flow: --fields id --fields name myid.

# Path: neutron_taas/taas_client/tapflow.py
# def _add_updatable_args(parser):
# def _updatable_args2body(parsed_args, body):
#     def add_known_arguments(self, parser):
#     def args2body(self, parsed_args):
#     def add_known_arguments(self, parser):
#     def args2body(self, parsed_args):
# class TapFlow(extension.NeutronClientExtension):
# class ListTapFlow(extension.ClientExtensionList, TapFlow):
# class CreateTapFlow(extension.ClientExtensionCreate, TapFlow):
# class DeleteTapFlow(extension.ClientExtensionDelete, TapFlow):
# class ShowTapFlow(extension.ClientExtensionShow, TapFlow):
# class UpdateTapFlow(extension.ClientExtensionUpdate, TapFlow):


# Path: neutron_taas/tests/unit/taas_client/test_cli20_tapflow.py
import sys
from unittest import mock
from neutron_taas.taas_client import tapflow
from neutronclient import shell
from neutronclient.tests.unit import test_cli20

        name = 'dummyTapFlow'
        description = 'Create a dummy tap flow'
        self._test_create_tap_flow(name=name,
                                   arg_attr=[
                                       '--name', name,
                                       '--description', description],
                                   name_attr=['name', 'description'],
                                   val_attr=[name, description])

    def test_delete_tap_flow(self):
        # Delete tap_flow: myid.
        cmd = tapflow.DeleteTapFlow(test_cli20.MyApp(sys.stdout), None)
        myid = 'myid'
        args = [myid]
        self._test_delete_resource(self.resource, cmd, myid, args)

    def test_update_tap_flow(self):
        # Update tap_flow: myid --name myname.
        cmd = tapflow.UpdateTapFlow(test_cli20.MyApp(sys.stdout), None)
        self._test_update_resource(self.resource, cmd, 'myid',
                                   ['myid', '--name', 'myname'],
                                   {'name': 'myname'})

    def test_list_tap_flows(self):
        # List tap_flows.
        cmd = tapflow.ListTapFlow(test_cli20.MyApp(sys.stdout), None)
        self._test_list_resources(self.resources, cmd, True)

    def test_show_tap_flow(self):
        # Show tap_flow: --fields id --fields name myid.

        cmd = tapflow.ShowTapFlow(test_cli20.MyApp(sys.stdout), None)