Re: Trouble getting doctests to execute in app with no model...

2009-08-25 Thread Joseph (Driftwood Cove Designs)
On Aug 25, 12:22 pm, Alex Gaynor wrote: > You can put your tests in a tests.py file, however you still need to > have an empty models.py file, so Django picks up the app correctly. Thanks Alex - unfortunately, if I put an empty models.py file in, I get an exception when the test runner creates t

Re: Trouble getting doctests to execute in app with no model...

2009-08-25 Thread Alex Gaynor
On Tue, Aug 25, 2009 at 2:12 PM, Joseph (Driftwood Cove Designs) wrote: > > We use a custom authentication backend, and I'm trying to develop a > test suite for it.  The app has no model, since it uses the model from > contrib.auth  So, I put my tests in tests.py, but the test runner does > not lo

Trouble getting doctests to execute in app with no model...

2009-08-25 Thread Joseph (Driftwood Cove Designs)
We use a custom authentication backend, and I'm trying to develop a test suite for it. The app has no model, since it uses the model from contrib.auth So, I put my tests in tests.py, but the test runner does not load it, even though the custom auth app is in INSTALLED_APPS. I tried adding an em