]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Merging test cases from Shwetas' branch, and further modified README file.
authorSumit Naiksatam <snaiksat@cisco.com>
Mon, 8 Aug 2011 17:01:11 +0000 (10:01 -0700)
committerSumit Naiksatam <snaiksat@cisco.com>
Mon, 8 Aug 2011 17:01:11 +0000 (10:01 -0700)
1  2 
quantum/plugins/cisco/README

index 3f02dc5a1b80ab102edc0575667b452734281f7f,f3152e75eb67713ca0b55141456f5e0fd60537d8..5467fb03a9dfb36fc604f427d381fcfa7ca4a8b3
@@@ -56,3 -98,21 +56,13 @@@ mysql -uroot -p<mysql_password_here> no
  /usr/lib/python2.6/site-packages/nova/virt/cisco_ucs.py
  
  * Restart nova-compute service
 -**L2network database usage requirements -
 -* mysql database "quantum_l2network" is required for persistence of the l2network plugin data.
 -      + The database can be created as follows -
 -              - # mysql -uroot -pnova; (username/password here is root/nova)
 -              - 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.
 -
 -* The unit tests are located at quantum/plugins/cisco/tests/unit. They are executed from quantum/plugins/cisco/ using the runtests.py script.
+ ** 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. (Note that to execute the test cases one currently requires the environment setup as outlined in the pre-requisites.)
+ * Execution of the runtests.py script.
+     All unit tests
+         python runtests.py unit
+     Specific Plugin unit test
+         python runtests.py unit.<name_of_the file>
++      e.g. python run_tests.py unit.test_coreApi