def test_get_master_key_none(): with pytest.raises(TypeError): sslkeylog.get_master_key(None)
def test_get_master_key_not_a_socket(): with pytest.raises(TypeError): sslkeylog.get_master_key(object())
def test_get_master_key(ssl_client12): assert sslkeylog.get_master_key(ssl_client12)