]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/tests/utils.py
tests/parser: Add subject encoding tests
[patchwork] / apps / patchwork / tests / utils.py
index a85e168d38753667f4fed458132414ac0c4034f8..cf445aa27105ce073611eeff0c5e6ee0d5f8e146 100644 (file)
@@ -50,6 +50,12 @@ class defaults(object):
 
     patch_name = 'Test Patch'
 
+    patch = """--- /dev/null   2011-01-01 00:00:00.000000000 +0800
++++ a  2011-01-01 00:00:00.000000000 +0800
+@@ -0,0 +1 @@
++a
+"""
+
 _user_idx = 1
 def create_user():
     global _user_idx