Пример #1
0
def test_get_master_key_none():
    with pytest.raises(TypeError):
        sslkeylog.get_master_key(None)
Пример #2
0
def test_get_master_key_not_a_socket():
    with pytest.raises(TypeError):
        sslkeylog.get_master_key(object())
Пример #3
0
def test_get_master_key(ssl_client12):
    assert sslkeylog.get_master_key(ssl_client12)