Re: tests for ./manage.py validate

2010-06-07 Thread Filip Gruszczyński
I added the test and made a patch (two actually). Thanks a lot for your help :-) -- Filip Gruszczyński -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe

Re: tests for ./manage.py validate

2010-06-07 Thread Russell Keith-Magee
2010/6/7 Filip Gruszczyński : >> The positive test cases (i.e., this model *doesn't* raise an error) >> aren't explicitly tested, beyond the fact that all the other models in >> the test suite need to validate before the test suite will run. > > So I can put new test together with some other orderi

Re: tests for ./manage.py validate

2010-06-07 Thread Filip Gruszczyński
> The positive test cases (i.e., this model *doesn't* raise an error) > aren't explicitly tested, beyond the fact that all the other models in > the test suite need to validate before the test suite will run. So I can put new test together with some other ordering tests and this should do the tric

Re: tests for ./manage.py validate

2010-06-07 Thread Russell Keith-Magee
2010/6/7 Filip Gruszczyński : > There is a small issue concerning validate command and ordering model > by pk. I would like to write a test for this (and a patch too), but I > have no idea where to put those tests and how exactly use it. > get_validation_errors from core.management.validation is us

tests for ./manage.py validate

2010-06-07 Thread Filip Gruszczyński
There is a small issue concerning validate command and ordering model by pk. I would like to write a test for this (and a patch too), but I have no idea where to put those tests and how exactly use it. get_validation_errors from core.management.validation is used on an app and writes the result to