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:
Sergi Delgado Segura
2019-10-08 18:57:29 +01:00
parent 9a18f759f9
commit fa5f587134
3 changed files with 17 additions and 27 deletions

View File

@@ -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()