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 cryptography.exceptions import InvalidTag
|
||||
from pisa import logging
|
||||
from pisa.encrypted_blob import EncryptedBlob
|
||||
|
||||
logging.getLogger().disabled = True
|
||||
|
||||
|
||||
def test_init_encrypted_blob():
|
||||
# No much to test here, basically that the object is properly created
|
||||
@@ -34,8 +36,4 @@ def test_decrypt():
|
||||
assert(encrypted_blob.decrypt(key) == data)
|
||||
|
||||
|
||||
logging.getLogger().disabled = True
|
||||
|
||||
test_init_encrypted_blob()
|
||||
test_decrypt()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user