aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtCore/qmessageauthenticationcode_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtCore/qmessageauthenticationcode_test.py')
-rw-r--r--sources/pyside6/tests/QtCore/qmessageauthenticationcode_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtCore/qmessageauthenticationcode_test.py b/sources/pyside6/tests/QtCore/qmessageauthenticationcode_test.py
index d312fe412..89e3d7ba1 100644
--- a/sources/pyside6/tests/QtCore/qmessageauthenticationcode_test.py
+++ b/sources/pyside6/tests/QtCore/qmessageauthenticationcode_test.py
@@ -41,6 +41,7 @@ init_test_paths(False)
from PySide6.QtCore import QCryptographicHash, QMessageAuthenticationCode
+
class TestQMessageAuthenticationCode (unittest.TestCase):
def test(self):
code = QMessageAuthenticationCode(QCryptographicHash.Sha1, bytes('bla', "UTF-8"))
@@ -48,5 +49,6 @@ class TestQMessageAuthenticationCode (unittest.TestCase):
self.assertTrue(result.size() > 0)
print(result.toHex())
+
if __name__ == '__main__':
unittest.main()