adds coverity tests

This commit is contained in:
Moisés Guimarães
2017-01-15 12:51:09 -02:00
parent 2d56f09320
commit 0a9f66338c
4 changed files with 13 additions and 5 deletions

View File

@@ -29,8 +29,8 @@ from wolfssl._methods import (WolfSSLMethod, PROTOCOL_SSLv3, PROTOCOL_SSLv23,
from wolfssl._ffi import ffi as _ffi
@pytest.fixture(
params=[PROTOCOL_SSLv3, PROTOCOL_TLSv1, PROTOCOL_TLSv1_1],
ids=["SSLv3", "TLSv1", "TLSv1_1"])
params=[-1, PROTOCOL_SSLv3, PROTOCOL_TLSv1, PROTOCOL_TLSv1_1],
ids=["invalid", "SSLv3", "TLSv1", "TLSv1_1"])
def unsupported_method(request):
yield request.param