summaryrefslogtreecommitdiff
path: root/patchwork
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2020-04-16 00:51:17 +0100
committerStephen Finucane <stephen@that.guru>2020-04-18 11:57:28 +0100
commit9da843141155c1f0835f671bc473e7c7424244e3 (patch)
treee0ddb2a4ae8b9b30924a7707ffa692b520a3f56f /patchwork
parentcdceccaa939a08190dc438fe3614659c3090aa8e (diff)
downloadpatchwork-9da843141155c1f0835f671bc473e7c7424244e3.tar
patchwork-9da843141155c1f0835f671bc473e7c7424244e3.tar.gz
docs: Resolve issues with 'covers'
Two issues to correct: - Each header in the 'headers' field can be either a string or a list value. - We state that the 'content' field will always have content but our tests were configuring otherwise. Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'patchwork')
-rw-r--r--patchwork/tests/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/patchwork/tests/utils.py b/patchwork/tests/utils.py
index 7759c8f..1a7baa2 100644
--- a/patchwork/tests/utils.py
+++ b/patchwork/tests/utils.py
@@ -228,7 +228,7 @@ def create_cover(**kwargs):
'msgid': make_msgid(),
'name': 'testpatch%d' % num,
'headers': '',
- 'content': '',
+ 'content': 'foo',
}
values.update(kwargs)