diff --git a/ceph-pr-commits/build/test_commits.py b/ceph-pr-commits/build/test_commits.py index 8d002d086..949c0b130 100644 --- a/ceph-pr-commits/build/test_commits.py +++ b/ceph-pr-commits/build/test_commits.py @@ -39,7 +39,7 @@ def setup_class(cls): @pytest.mark.doc_test def test_doc_title(self): - doc_regex = '\nDate:[^\n]+\n\n doc' + doc_regex = '\nDate:[^\n]+\n\n (doc|Revert "doc)' all_commits = 'git log -z --no-merges origin/%s..%s' % ( self.target_branch, self.source_branch) wrong_commits = list(filterfalse(