]> git.ozlabs.org Git - patchwork/commit
tests/patchparser: Inherit from djagno.test.TestCase
authorJeremy Kerr <jk@ozlabs.org>
Tue, 22 Apr 2014 13:03:05 +0000 (21:03 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 22 Apr 2014 13:05:47 +0000 (21:05 +0800)
commit9169b9708271cd46b4448d19226dd326214a3246
tree1cd8eed7ed8bf1c8ff887212526a3c49be605b33
parentf9bed823a1c2bcba6acf3d7f7650a80d5733a314
tests/patchparser: Inherit from djagno.test.TestCase

Since these tests may touch the database, we need the transaction
handling that django.test.TestCase provides.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/tests/patchparser.py