1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00

core/tests: test debug is on

This commit is contained in:
Tomas Susanka 2019-12-23 12:01:00 +00:00
parent 5677c254b1
commit a316347bf1

View File

@ -0,0 +1,13 @@
from common import *
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()