| 1 |
# -*- coding: utf-8 -*- |
| 2 |
# Copyright: (c) 2021, Jordan Borean (@jborean93) <[email protected]> |
| 3 |
# MIT License (see LICENSE or https://opensource.org/licenses/MIT) |
| 4 |
|
| 5 |
import pytest |
| 6 |
|
| 7 |
|
| 8 |
def test_gss_import_dep(): |
| 9 |
with pytest.deprecated_call(match="spnego.gss is deprecated and will be removed in a future release"): |
| 10 |
import spnego.gss |
| 11 |
|
| 12 |
|
| 13 |
def test_negotiate_import_dep(): |
| 14 |
with pytest.deprecated_call(match="spnego.negotiate is deprecated and will be removed in a future release"): |
| 15 |
import spnego.negotiate |
| 16 |
|
| 17 |
|
| 18 |
def test_ntlm_import_dep(): |
| 19 |
with pytest.deprecated_call(match="spnego.ntlm is deprecated and will be removed in a future release"): |
| 20 |
import spnego.ntlm |
| 21 |
|
| 22 |
|
| 23 |
def test_sspi_import_dep(): |
| 24 |
with pytest.deprecated_call(match="spnego.sspi is deprecated and will be removed in a future release"): |
| 25 |
import spnego.sspi |