From fb9e81b380b1be0e59e324b43a2fd594683b3b0a Mon Sep 17 00:00:00 2001 From: Shweta P Date: Mon, 8 Aug 2011 00:01:03 -0700 Subject: [PATCH] Adding Cisco Unit Tests --- quantum/plugins/cisco/README | 10 ++++++++++ 1 file changed, 10 insertions(+) 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. + -- 2.45.2