mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-18 06:34:19 +01:00
Updates tests to be pytests friedly
pytests already runs all the test_ functions, so there's no need to call them
This commit is contained in:
@@ -4,6 +4,8 @@ from pisa import logging
|
||||
from apps.cli.blob import Blob
|
||||
from pisa.conf import SUPPORTED_CIPHERS, SUPPORTED_HASH_FUNCTIONS
|
||||
|
||||
logging.getLogger().disabled = True
|
||||
|
||||
|
||||
def test_init_blob():
|
||||
data = urandom(64).hex()
|
||||
@@ -87,8 +89,3 @@ def test_encrypt():
|
||||
assert(encrypted_blob == encrypted_blob2 and id(encrypted_blob) != id(encrypted_blob2))
|
||||
|
||||
|
||||
logging.getLogger().disabled = True
|
||||
|
||||
test_init_blob()
|
||||
test_encrypt()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user