Start of diff misdetected when message line starts with 'diff'

Jeremy Kerr jk at
Sat Jan 14 19:36:11 EST 2012

Hi Stefan,

> I wanted to add a unit test and fix could not get the test suite to
> run.  Is there documentation on how to run
> apps/patchwork/tests/

It just uses the standard django test framework, so you should be able
to run the tests with:

 cd apps
 ./ test patchwork

Or you can run a specific test:

 ./ 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 mailing list