aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtNetwork/qpassworddigestor_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtNetwork/qpassworddigestor_test.py')
-rw-r--r--sources/pyside6/tests/QtNetwork/qpassworddigestor_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtNetwork/qpassworddigestor_test.py b/sources/pyside6/tests/QtNetwork/qpassworddigestor_test.py
index 9a7611e42..9e8dbe768 100644
--- a/sources/pyside6/tests/QtNetwork/qpassworddigestor_test.py
+++ b/sources/pyside6/tests/QtNetwork/qpassworddigestor_test.py
@@ -42,11 +42,13 @@ init_test_paths(False)
from PySide6.QtCore import QByteArray, QCryptographicHash
from PySide6.QtNetwork import QPasswordDigestor
+
class TestPasswordDigestor(unittest.TestCase):
def test(self):
b = QPasswordDigestor.deriveKeyPbkdf1(QCryptographicHash.Sha1,
b'test', b'saltnpep', 10, 20)
self.assertEqual(b.size(), 20)
+
if __name__ == '__main__':
unittest.main()