Skip to content

Commit a9c200c

Browse files
committed
Added TODO for SSL tests
1 parent 6e7ad70 commit a9c200c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

tests/conftest.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -322,12 +322,13 @@ def skip_ifnot_redis_enterprise() -> _TestDecorator:
322322

323323

324324
def skip_if_nocryptography() -> _TestDecorator:
325-
try:
326-
import cryptography # noqa
327-
328-
return pytest.mark.skipif(False, reason="Cryptography dependency found")
329-
except ImportError:
330-
return pytest.mark.skipif(True, reason="No cryptography dependency")
325+
# try:
326+
# import cryptography # noqa
327+
#
328+
# return pytest.mark.skipif(False, reason="Cryptography dependency found")
329+
# except ImportError:
330+
# TODO: Because JWT library depends on cryptography, now it's always true and tests should be fixed
331+
return pytest.mark.skipif(True, reason="No cryptography dependency")
331332

332333

333334
def skip_if_cryptography() -> _TestDecorator:

0 commit comments

Comments
 (0)