← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1178663] Re: Some ./run_test.sh flags not working with Django 1.5 (SECRET_KEY)

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1178663

Title:
  Some ./run_test.sh flags not working with Django 1.5 (SECRET_KEY)

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When using Django 1.5, some of the run_tests.sh commands that rely on
  manage.py don't work by default anymore, e.g.

  $ ./run_tests.sh --compilemessages
  Checking environment.
  Environment is up to date.
  WARNING:root:No local_settings file found.
  ImproperlyConfigured: The SECRET_KEY setting must not be empty.

  $ ./run_tests.sh -m startdash mydash
  Checking environment.
  Environment is up to date.
  WARNING:root:No local_settings file found.
  Unknown command: 'startdash'
  Type 'manage.py help' for usage.

  It's unhappy about the lack of SECRET_KEY in
  openstack_dashboard/settings.py, and one should now have a
  openstack_dashboard/local/local_settings.py for the commands to work.

  We should either make it work out of the box, or update
  http://docs.openstack.org/developer/horizon/ref/run_tests.html to
  indicate the new requirement.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1178663/+subscriptions