diff options
-rw-r--r-- | meta/lib/patchtest/tests/test_mbox.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/patchtest/tests/test_mbox.py b/meta/lib/patchtest/tests/test_mbox.py index 0e3d055780..cd76e58a71 100644 --- a/meta/lib/patchtest/tests/test_mbox.py +++ b/meta/lib/patchtest/tests/test_mbox.py | |||
@@ -23,7 +23,7 @@ def headlog(): | |||
23 | 23 | ||
24 | class TestMbox(base.Base): | 24 | class TestMbox(base.Base): |
25 | 25 | ||
26 | auh_email = 'auh@auh.yoctoproject.org' | 26 | auh_email = 'auh@yoctoproject.org' |
27 | 27 | ||
28 | invalids = [pyparsing.Regex("^Upgrade Helper.+"), | 28 | invalids = [pyparsing.Regex("^Upgrade Helper.+"), |
29 | pyparsing.Regex(auh_email), | 29 | pyparsing.Regex(auh_email), |
@@ -155,5 +155,5 @@ class TestMbox(base.Base): | |||
155 | 155 | ||
156 | def test_non_auh_upgrade(self): | 156 | def test_non_auh_upgrade(self): |
157 | for commit in self.commits: | 157 | for commit in self.commits: |
158 | if self.auh_email in commit.payload: | 158 | if self.auh_email in commit.commit_message: |
159 | self.fail('Invalid author %s. Resend the series with a valid patch author' % self.auh_email, commit=commit) | 159 | self.fail('Invalid author %s. Resend the series with a valid patch author' % self.auh_email, commit=commit) |