# Path: cloudkittyclient/tests/unit/v1/base.py
# class BaseAPIEndpointTestCase(utils.BaseTestCase):
#     def setUp(self):
# 
# Path: cloudkittyclient/v1/report_cli.py
# class CliSummaryGet(lister.Lister):
# class CliTotalGet(show.ShowOne):
# class CliTenantList(lister.Lister):
#     def take_action(self, parsed_args):
#     def get_parser(self, prog_name):
#     def take_action(self, parsed_args):
#     def get_parser(self, prog_name):
#     def take_action(self, parsed_args):
#     def get_parser(self, prog_name):


from collections import abc
from unittest import mock
from cloudkittyclient.tests.unit.v1 import base
from cloudkittyclient.v1 import report_cli
#
#         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.
#



class TestReportCli(base.BaseAPIEndpointTestCase):

    def test_report_tenant_list(self):

        class DummyAPIClient(object):
            def get_tenants(*args, **kwargs):
                return ['ee530dfc-319a-438f-9d43-346cfef501d6',
                        '91743a9a-688b-4526-b568-7b501531176c',
                        '4468704c-972e-4cfd-a342-9b71c493b79b']

        class ClientWrap(object):
            report = DummyAPIClient()

        class DummyParsedArgs(object):
            def __init__(self):
                self.begin = '2042-01-01T00:00:00'
                self.end = '2042-12-01T00:00:00'


# Path: cloudkittyclient/tests/unit/v1/base.py
# class BaseAPIEndpointTestCase(utils.BaseTestCase):
#     def setUp(self):
# 
# Path: cloudkittyclient/v1/report_cli.py
# class CliSummaryGet(lister.Lister):
# class CliTotalGet(show.ShowOne):
# class CliTenantList(lister.Lister):
#     def take_action(self, parsed_args):
#     def get_parser(self, prog_name):
#     def take_action(self, parsed_args):
#     def get_parser(self, prog_name):
#     def take_action(self, parsed_args):
#     def get_parser(self, prog_name):


# Path: cloudkittyclient/tests/unit/v1/test_report_cli.py
from collections import abc
from unittest import mock
from cloudkittyclient.tests.unit.v1 import base
from cloudkittyclient.v1 import report_cli

#
#         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.
#



class TestReportCli(base.BaseAPIEndpointTestCase):

    def test_report_tenant_list(self):

        class DummyAPIClient(object):
            def get_tenants(*args, **kwargs):
                return ['ee530dfc-319a-438f-9d43-346cfef501d6',
                        '91743a9a-688b-4526-b568-7b501531176c',
                        '4468704c-972e-4cfd-a342-9b71c493b79b']

        class ClientWrap(object):
            report = DummyAPIClient()

        class DummyParsedArgs(object):
            def __init__(self):
                self.begin = '2042-01-01T00:00:00'
                self.end = '2042-12-01T00:00:00'


        class DummyCliTenantList(report_cli.CliTenantList):