Re: Test fails silently when using --tag

2021-04-05 Thread Cammil Taank
om_name(name) >>> File "/.../python3.9/unittest/loader.py", line 377, in >>> _get_module_from_name >>> __import__(name) >>> File "/.../example/core/tests.py", line 4, in >>> assert 0 >>> AssertionError >>> &

Test fails silently when using --tag

2021-04-04 Thread Cammil Taank
Hi All, When I run tests using the --tag option, and there is a module level exception, the tests seem to pass without any errors. Steps to reproduce: 1. Add this to tests: from django.test import TestCase from django.test import tag assert 0 @tag('abc') class TempTest(TestCase): def