Skip to content

Commit

Permalink
[IMP] git-commit-merge: more master checks
Browse files Browse the repository at this point in the history
  • Loading branch information
KangOl committed Sep 27, 2019
1 parent ad0657f commit 1855d57
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion git-commit-merge
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,11 @@ function check_saas125() {
}

function check_master() {
assert_not_in_diff py '\bassertEquals\b'
assert_not_in_diff py '\b(?:import|from) openerp\b'
assert_not_in_diff py '\bassert_\b'
assert_not_in_diff py '\bassert(?:Not|Almost)?Equals\b'
assert_not_in_diff py '\bassertRaisesRegexp\b'
assert_not_in_diff py '\bassertRegexpMatches\b'
}

# --------- main
Expand Down

0 comments on commit 1855d57

Please sign in to comment.