From: Alfredo Deza Date: Fri, 8 Jan 2016 21:41:03 +0000 (-0500) Subject: do not parametrize for now because we need to find out why this is not working X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F286%2Fhead;p=ceph-build.git do not parametrize for now because we need to find out why this is not working Signed-off-by: Alfredo Deza --- diff --git a/ceph-pr-commits/build/test_commits.py b/ceph-pr-commits/build/test_commits.py index 73286d93..2ce809c9 100644 --- a/ceph-pr-commits/build/test_commits.py +++ b/ceph-pr-commits/build/test_commits.py @@ -40,14 +40,12 @@ def get_commits(): return chunked_commits -commits = get_commits() - class TestSignedOffByCommits(object): - @pytest.mark.parametrize('commit', commits) - def test_signed_off_by(self, commit): - assert 'Signed-off-by:' in commit + def test_signed_off_by(self): + for commit in get_commits(): + assert 'Signed-off-by:' in commit def extract_sha(self, lines): # XXX Unused for now, if py.test can spit out the hashes in verbose