debian-forge/test/mod
Christian Kellner aaa51e22a6 api: properly serialize the exception's traceback
Use `traceback.print_tb()` to serialize the exceptions' backtrace.
The previously used expression `str(e.__traceback__)` will just
give `<traceback object at 0x…>`, which is not very helpful.
Add a test to check that the method name that raises the exception,
also called `exception`, is in the traceback.
2020-10-09 10:47:44 +02:00
..
__init__.py test: '{. -> ./mod}/test_util_selinux.py' 2020-04-24 15:50:44 +02:00
test_api.py api: properly serialize the exception's traceback 2020-10-09 10:47:44 +02:00
test_buildroot.py api: remove setup_stdio 2020-09-09 12:52:50 +02:00
test_monitor.py api: remove setup_stdio 2020-09-09 12:52:50 +02:00
test_objectstore.py test/objectstore: proper path concatenation 2020-07-22 09:37:30 +01:00
test_osbuild.py osbuild: unified libdir handling 2020-08-04 09:02:22 +02:00
test_util_ctx.py util/ctx: extract suppress_oserror() 2020-05-11 18:05:12 +02:00
test_util_jsoncomm.py jsoncomm: remove destination from send 2020-07-29 02:16:20 +01:00
test_util_linux.py test: convert to shared helpers 2020-05-13 14:26:05 +02:00
test_util_osrelease.py test: make TestBase inherit unittest.TestCase 2020-06-05 09:27:40 +02:00
test_util_ostree.py osbuild: replace capture_output in subprocess.run 2020-06-09 13:42:35 +02:00
test_util_rmrf.py test: convert to shared helpers 2020-05-13 14:26:05 +02:00
test_util_selinux.py test: '{. -> ./mod}/test_util_selinux.py' 2020-04-24 15:50:44 +02:00