]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
do not parametrize for now because we need to find out why this is not working 286/head
authorAlfredo Deza <adeza@redhat.com>
Fri, 8 Jan 2016 21:41:03 +0000 (16:41 -0500)
committerAlfredo Deza <adeza@redhat.com>
Fri, 8 Jan 2016 21:42:12 +0000 (16:42 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-pr-commits/build/test_commits.py

index 73286d93e1bfbd17e3dd8a982dea67ec65aee70b..2ce809c9e73b02cf7e6f4921f6116073a4be3d7f 100644 (file)
@@ -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