Sorry for the double post as this is both an announcement and a question.

Today I managed to get our quickstart (paster template) to run the
unitest of the resulting project. Most of the code was already in
place I just added a little something to make it all work. The
resulting module is here,
http://trac.turbogears.org/browser/projects/tg.devtools/trunk/devtools/tests/test_pastetemplate.py

The process here is.
1- Build a turbogears projects
2- run the tests of the build process
3- run the tests of the resulting projects
4- delete everything created.

That runs like a charm but it has some things I don't like
1- the projects tests are collected before the build process, which
gives the results in the wrong order (3 output is before 2)
2- I think there is a better way to implement it than argv, I tried
passing a nose.config.Config instance but couldn't get the right
settings

The other problem I'm having is that when I subclass TestQuickStart
for example TestNoAuthQuickStart, and use the options argument (with a
patch to TestQuickstart to update the template_vars dir) for some
reason setup is ran before __init__ which is preventing me from making
TestQuickStart configurable. In other words how can I make a
configurable fixture?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to