]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
skeleton for cli unit tests
authorSalvatore Orlando <salvatore.orlando@eu.citrix.com>
Wed, 10 Aug 2011 17:22:17 +0000 (18:22 +0100)
committerSalvatore Orlando <salvatore.orlando@eu.citrix.com>
Wed, 10 Aug 2011 17:22:17 +0000 (18:22 +0100)
tests/unit/test_cli.py [new file with mode: 0644]
tools/pip-requires

diff --git a/tests/unit/test_cli.py b/tests/unit/test_cli.py
new file mode 100644 (file)
index 0000000..b662d67
--- /dev/null
@@ -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
index fc1b29f9fd80e252f86ee82df52507d524d8ebf9..931a3504335e8939742c5e1929b461aab8cab379 100644 (file)
@@ -1,5 +1,6 @@
 eventlet>=0.9.12
 Routes>=1.12.3
+mox==0.5.3
 nose
 Paste
 PasteDeploy