From: Shweta P Date: Mon, 8 Aug 2011 07:01:03 +0000 (-0700) Subject: Adding Cisco Unit Tests X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=fb9e81b380b1be0e59e324b43a2fd594683b3b0a;p=openstack-build%2Fneutron-build.git Adding Cisco Unit Tests --- diff --git a/quantum/plugins/cisco/README b/quantum/plugins/cisco/README index b77ce22ca..f3152e75e 100644 --- a/quantum/plugins/cisco/README +++ b/quantum/plugins/cisco/README @@ -106,3 +106,13 @@ mysql -uroot -p nova -e 'create table ports (port_id VARCHA - mysql> create database quantum_l2network; - mysql> use quantum_l2network; + The database and login details must be specified in quantum/plugins/cisco/db/db_conn.ini. + +** Execute the Test cases +* The unit tests are located at quantum/plugins/cisco/tests/unit. They are executed from quantum/plugins/cisco/ using the runtests.py script. + +* Execution of the runtests.py script. + All unit tests + python runtests.py unit + Specific Plugin unit test + python runtests.py unit. +