1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-11 17:08:15 +00:00
trezor-firmware/core/tests/test_unittest.py
obrusvit e073e619c9 chore(tests): re-run black and isort on core/tests
isort set to skip the first necessary "from common import *" line. A
better solution would be to get rid of the need of this import in the
future.

[no changelog]
2024-02-22 12:10:12 +01:00

13 lines
303 B
Python

from common import * # isort:skip
class TestUnittest(unittest.TestCase):
def test_debug(self):
if not __debug__:
# Fail the test if debug is turned off, because `assert` is not executed then.
self.assertTrue(False)
if __name__ == "__main__":
unittest.main()