convert all test_caller*.py to work with pytest/unittest test discovery
[openpower-isa.git] / src / openpower / decoder / isa / test_caller_svp64_utf_8_validation.py
1 # SPDX-License-Identifier: LGPL-3-or-later
2 # Copyright 2022 Jacob Lifshay
3
4 import unittest
5 from openpower.test.algorithms.svp64_utf_8_validation import \
6 SVP64UTF8ValidationTestCase
7 from openpower.test.runner import TestRunnerBase
8
9 # writing the test_caller invocation this way makes it work with pytest
10
11
12 class TestSVP64UTF8Validation(TestRunnerBase):
13 def __init__(self, test):
14 assert test == 'test'
15 super().__init__(SVP64UTF8ValidationTestCase().test_data)
16
17 def test(self):
18 # dummy function to make unittest try to test this class
19 pass
20
21
22 if __name__ == "__main__":
23 unittest.main()