diff options
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/checklayer/cases/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/checklayer/cases/common.py b/scripts/lib/checklayer/cases/common.py index fdfb5d18cd..9f15e05be9 100644 --- a/scripts/lib/checklayer/cases/common.py +++ b/scripts/lib/checklayer/cases/common.py | |||
@@ -31,8 +31,8 @@ class CommonCheckLayer(OECheckLayerTestCase): | |||
31 | if re.search('README', data, re.IGNORECASE): | 31 | if re.search('README', data, re.IGNORECASE): |
32 | return | 32 | return |
33 | 33 | ||
34 | self.assertIn('maintainer', data) | 34 | self.assertIn('maintainer', data.lower()) |
35 | self.assertIn('patch',data) | 35 | self.assertIn('patch', data.lower()) |
36 | # Check that there is an email address in the README | 36 | # Check that there is an email address in the README |
37 | email_regex = re.compile(r"[^@]+@[^@]+") | 37 | email_regex = re.compile(r"[^@]+@[^@]+") |
38 | self.assertTrue(email_regex.match(data)) | 38 | self.assertTrue(email_regex.match(data)) |