Raphaël Badin has proposed merging lp:~rvb/maas/test-no-input into lp:maas.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~rvb/maas/test-no-input/+merge/109653

This branch adds the option "--noinput" to the command line when running tests. 
 By default, Django asks the user "Type 'yes' if you would like to try deleting 
the test database 'test_maas', or 'no' to cancel:" if it finds a test database 
when starting a test run.  This behavior obviously does not suit a fully 
automated test run such as the one performed by Jenkins.  Adding this options 
makes Django delete an existing test database without asking questions if 
needed.
-- 
https://code.launchpad.net/~rvb/maas/test-no-input/+merge/109653
Your team Launchpad code reviewers is requested to review the proposed merge of 
lp:~rvb/maas/test-no-input into lp:maas.
=== modified file 'buildout.cfg'
--- buildout.cfg	2012-06-08 11:14:25 +0000
+++ buildout.cfg	2012-06-11 14:53:25 +0000
@@ -127,7 +127,9 @@
   test.maas=django.core.management:execute_from_command_line
 initialization =
   ${maas:initialization}
-  sys.argv[1:1] = ["test", "--exclude=provisioningserver", "--exclude=maastesting"]
+  sys.argv[1:1] = [
+      "test", "--noinput", "--exclude=provisioningserver",
+      "--exclude=maastesting"]
 scripts = test.maas
 extra-paths =
   ${maas:extra-paths}

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp

Reply via email to