From de4177e2614db8b02f98b71298403f7218ff399a Mon Sep 17 00:00:00 2001 From: Salvatore Orlando Date: Wed, 10 Aug 2011 18:22:17 +0100 Subject: [PATCH] skeleton for cli unit tests --- tests/unit/test_cli.py | 41 +++++++++++++++++++++++++++++++++++++++++ tools/pip-requires | 1 + 2 files changed, 42 insertions(+) create mode 100644 tests/unit/test_cli.py diff --git a/tests/unit/test_cli.py b/tests/unit/test_cli.py new file mode 100644 index 000000000..b662d6715 --- /dev/null +++ b/tests/unit/test_cli.py @@ -0,0 +1,41 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2010-2011 ???? +# 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. +# @author: Salvatore Orlando, Citrix Systems + +""" Module containing unit tests for Quantum + command line interface + +""" + + +import logging +import sys +import unittest + +from quantum import api as server + +LOG = logging.getLogger('quantum.tests.test_cli') + +class CLITest(unittest.TestCase): + + def setUp(self): + """Prepare the test environment""" + pass + + def tearDown(self): + """Clear the test environment""" + pass diff --git a/tools/pip-requires b/tools/pip-requires index fc1b29f9f..931a35043 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -1,5 +1,6 @@ eventlet>=0.9.12 Routes>=1.12.3 +mox==0.5.3 nose Paste PasteDeploy -- 2.45.2