rvanlaar/djangorecipe — Issue #40: Test script ignores projectegg option
Author: rvanlaar
Created: 2011-12-27 21:40:48+00:00
State: open
Labels: In Progress, test, Undecided

I the documentation says: "projectegg: Use this instead of the project option when you want ..."

But in the generated tests scripts the projectegg is ignored.

My buildout configuration:
"""
[buildout]
parts =
django
extras

newest = false
prefer-final = true

extensions = mr.developer
sources = sources

auto-checkout =
finances
contas

eggs =
ipython
ipdb
south
Werkzeug
finances
contas
django_nose

[extras]
recipe = iw.recipe.subversion
urls =
http://django-command-extensions.googlecode.com/svn/trunk/ django-command-extensions

[django]
recipe = djangorecipe
version = 1.2.3
settings = development
#project = finances
projectegg = finances
wsgi = true
eggs =
${buildout:eggs}

extra-paths	=
${extras:location}/django-command-extensions/

test = contas
testrunner = django_nose.NoseTestSuiteRunner

[sources]
finances = hg /Users/lucianopacheco/src_rm/lucmult/web_finances/tmp/finances # the project
contas = hg /Users/lucianopacheco/src_rm/lucmult/web_finances/tmp/contas # the application
""

The workaround is use both "project" and "projectegg" options.

I'll submit a patch