summaryrefslogtreecommitdiffstats
path: root/meta/lib/patchtest/tests/test_patch.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/patchtest/tests/test_patch.py')
-rw-r--r--meta/lib/patchtest/tests/test_patch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/patchtest/tests/test_patch.py b/meta/lib/patchtest/tests/test_patch.py
index b6904b185f..65d0f930b0 100644
--- a/meta/lib/patchtest/tests/test_patch.py
+++ b/meta/lib/patchtest/tests/test_patch.py
@@ -50,7 +50,7 @@ class TestPatch(base.Base):
50 for newpatch in TestPatch.newpatches: 50 for newpatch in TestPatch.newpatches:
51 payload = newpatch.__str__() 51 payload = newpatch.__str__()
52 if not self.upstream_status_regex.search_string(payload): 52 if not self.upstream_status_regex.search_string(payload):
53 self.fail('Added patch file is missing Upstream-Status in the header. Add Upstream-Status: <Valid status> to the header', 53 self.fail('Added patch file is missing Upstream-Status: <Valid status> in the commit message',
54 data=[('Standard format', self.standard_format), ('Valid status', self.valid_status)]) 54 data=[('Standard format', self.standard_format), ('Valid status', self.valid_status)])
55 for line in payload.splitlines(): 55 for line in payload.splitlines():
56 if self.patchmetadata_regex.match(line): 56 if self.patchmetadata_regex.match(line):
@@ -87,7 +87,7 @@ class TestPatch(base.Base):
87 if TestPatch.prog.search_string(payload): 87 if TestPatch.prog.search_string(payload):
88 break 88 break
89 else: 89 else:
90 self.fail('A patch file has been added, but does not have a Signed-off-by tag. Sign off the added patch file (%s)' % newpatch.path) 90 self.fail('A patch file has been added without a Signed-off-by tag. Sign off the added patch file (%s)' % newpatch.path)
91 91
92 def test_cve_tag_format(self): 92 def test_cve_tag_format(self):
93 for commit in TestPatch.commits: 93 for commit in TestPatch.commits: