summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2011-02-24 00:05:44 +0000
committerTarmac <>2011-02-24 00:05:44 +0000
commitdf2b1dec7ad4d1561ab31a4c04fd339856a7d751 (patch)
tree9cf8483a23bcc7fd8a0eeda0cf1153eb086e322d /nova
parent2577aad970dde9c172eddf82c2f7ce129770ad49 (diff)
parent78eddce564cccf0d9be19b303cbc122966f5fa71 (diff)
downloadnova-df2b1dec7ad4d1561ab31a4c04fd339856a7d751.tar.gz
nova-df2b1dec7ad4d1561ab31a4c04fd339856a7d751.tar.xz
nova-df2b1dec7ad4d1561ab31a4c04fd339856a7d751.zip
Adds colors to output of tests and cleans up run_tests.py
* sets working directory for nose to nose/tests so it loads faster * moves db into nova/tests/test.sqlite * deletes the db in run_tests.py instead of run_tests.sh before running tests
Diffstat (limited to 'nova')
-rw-r--r--nova/tests/fake_flags.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/tests/fake_flags.py b/nova/tests/fake_flags.py
index cfa65c137..2b1919407 100644
--- a/nova/tests/fake_flags.py
+++ b/nova/tests/fake_flags.py
@@ -39,6 +39,5 @@ FLAGS.num_shelves = 2
FLAGS.blades_per_shelf = 4
FLAGS.iscsi_num_targets = 8
FLAGS.verbose = True
-FLAGS.sql_connection = 'sqlite:///nova.sqlite'
+FLAGS.sql_connection = 'sqlite:///tests.sqlite'
FLAGS.use_ipv6 = True
-FLAGS.logfile = 'tests.log'