mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 19:38:09 +00:00
e073e619c9
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]
13 lines
303 B
Python
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()
|