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

Stefan Hajnoczi stefanha at gmail.com
Sat Jan 14 19:46:07 EST 2012


On Sat, Jan 14, 2012 at 8:36 AM, Jeremy Kerr <jk at ozlabs.org> wrote:
> 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/patchparser.py?
>
> It just uses the standard django test framework, so you should be able
> to run the tests with:
>
>  cd apps
>  ./manage.py test patchwork
>
> Or you can run a specific test:
>
>  ./manage.py test patchwork.GitPullSSHUrlTest

Thanks.  I was trying vanilla python -m unittest
patchwork.tests.patchparser and variations on that.

I'll give it a shot today and see if I can send a proper patch.

Stefan


More information about the Patchwork mailing list