-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.log
34 lines (26 loc) · 1.3 KB
/
test.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
2024-08-10 19:37:09,882 INFO envexp_utils.log Environment created successfully!
2024-08-10 19:37:10,763 INFO envexp_utils.log Testing imports with:
2024-08-10 19:37:10,763 INFO envexp_utils.log import sleap
2024-08-10 19:37:12,864 INFO envexp_utils.log Imports passed successfully!
2024-08-10 19:37:12,864 INFO envexp_utils.log Running user-defined test code:
"""User-defined test code to run after the imports have been tested."""
if __name__ == "__main__":
assert False, "Replace this block with your own test code."
# Example test code that is not run since after return
from qtpy.QtWidgets import QApplication, QMainWindow
def create_app():
"""Creates Qt application."""
app = QApplication([])
return app
app = create_app()
window = QMainWindow()
window.showMaximized()
app.exec_()
2024-08-10 19:37:13,066 ERROR envexp_utils.log Tests failed!
Traceback (most recent call last):
File "/Users/liezlmaree/Projects/envexp/envexp/envexp_utils/log.py", line 121, in run_and_log
raise Exception(error)
Exception: Traceback (most recent call last):
File "/Users/liezlmaree/Projects/envexp/envexp/user_test_code.py", line 4, in <module>
assert False, "Replace this block with your own test code."
AssertionError: Replace this block with your own test code.