Start of diff misdetected when message line starts with 'diff'
jk at ozlabs.org
Sat Jan 14 19:36:11 EST 2012
> I wanted to add a unit test and fix could not get the test suite to
> run. Is there documentation on how to run
It just uses the standard django test framework, so you should be able
to run the tests with:
./manage.py test patchwork
Or you can run a specific test:
./manage.py test patchwork.GitPullSSHUrlTest
However, there is currently an known incompatibility with the postgresql
backend, and django's test framework. If you get an error like:
psycopg2.ProgrammingError: autocommit cannot be used inside a
Then you may want to revert to v2.4.1 of the psycopg2 database backend.
If you need any help, please get in touch. It'd be great to have a unit
test for this.
More information about the Patchwork