# Path: ceagle/cmd.py
# def main():
# 
# Path: tests/unit/test.py
# class TestCase(testtools.TestCase):
#     def setUp(self):
#     def mock_config(self, update=None):
#     def post(self, *args, **kwargs):
#     def put(self, *args, **kwargs):
#     def delete(self, *args, **kwargs):
#     def get(self, *args, **kwargs):


import mock
from ceagle import cmd
from tests.unit import test
# Copyright 2016: Mirantis Inc.
# 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.




class CmdTestCase(test.TestCase):
    @mock.patch("ceagle.cmd.argparse.ArgumentParser")
    @mock.patch("oss_lib.config.process_args")
    @mock.patch("ceagle.cmd.app.app")
    def test_main(self, mock_app, mock_process, mock_parser):

# Path: ceagle/cmd.py
# def main():
# 
# Path: tests/unit/test.py
# class TestCase(testtools.TestCase):
#     def setUp(self):
#     def mock_config(self, update=None):
#     def post(self, *args, **kwargs):
#     def put(self, *args, **kwargs):
#     def delete(self, *args, **kwargs):
#     def get(self, *args, **kwargs):


# Path: tests/unit/test_cmd.py
import mock
from ceagle import cmd
from tests.unit import test

# Copyright 2016: Mirantis Inc.
# 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.




class CmdTestCase(test.TestCase):
    @mock.patch("ceagle.cmd.argparse.ArgumentParser")
    @mock.patch("oss_lib.config.process_args")
    @mock.patch("ceagle.cmd.app.app")
    def test_main(self, mock_app, mock_process, mock_parser):

        mock_process.return_value.configure_mock(