Hi,
Just a little teaser:
I've found a nice approach to test your views. The problem is, the http
response is hard to test, since you have to either scrape the interesting
content from it, or use regexps. Both is not really nice.
My approach does not check the actual http response, but the
On 6/7/06, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
>
>
> On Jun 7, 2006, at 3:54 AM, Simon Willison wrote:
>
> >
> >
> > On 7 Jun 2006, at 05:33, Joseph Kocherhans wrote:
> >
> >> I think you want tocreate something like testsettings.py, and in that
> >> file do something like:
> >>
> >> from
On Jun 7, 2006, at 3:54 AM, Simon Willison wrote:
>
>
> On 7 Jun 2006, at 05:33, Joseph Kocherhans wrote:
>
>> I think you want tocreate something like testsettings.py, and in that
>> file do something like:
>>
>> from myproject.settings import *
>>
>> then override the specific settings
On 7 Jun 2006, at 05:33, Joseph Kocherhans wrote:
> I think you want tocreate something like testsettings.py, and in that
> file do something like:
>
> from myproject.settings import *
>
> then override the specific settings you want. It won't work with
> manage.py, but your tests should be
On 7 Jun 2006, at 02:42, Todd O'Bryan wrote:
> Does anybody have a best practice (or not-too-annoying practice) for
> testing?
>
> I think I'll use Selenium to test my site, but how should I change to
> a test database, populate the test database, etc.?
This is an area where Django can learn a
On 6/6/06, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
>
> Does anyone know of a way to get all attributes of a module into
> another module while overriding just a few?
I think you want tocreate something like testsettings.py, and in that
file do something like:
from myproject.settings import
On Jun 6, 2006, at 6:42 PM, Todd O'Bryan wrote:Does anybody have a best practice (or not-too-annoying practice) for testing?I think I'll use Selenium to test my site, but how should I change to a test database, populate the test database, etc.?If you want to test your model relationships, I find
7 matches
Mail list logo