mirror of
https://github.com/panda3d/panda3d.git
synced 2026-01-05 22:49:45 -06:00
tests: Skip encrypt_string test when building without OpenSSL
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
from panda3d import core
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.mark.skipif(not hasattr(core, 'encrypt_string'), reason="Requires OpenSSL")
|
||||
def test_encrypt_string():
|
||||
# Test encrypt and then decrypt cycle
|
||||
for algorithm in ('', 'bf-cbc', 'aes-256-cbc'):
|
||||
|
||||
Reference in New Issue
Block a user