Hello all, I have encountered what I think is very weird behaviour. When I run tests with the --tag option, modules that raise exceptions appear to be silently ignored.
Steps to reproduce: 1. Create django app. 2. Add this test module: from django.test import TestCase from django.test import tag assert 0 @tag('abc') class TempTest(TestCase): def test_basic(self): self.assertFalse(True) 3. Run python manage.py test This spits out the assertion error on stdin, as I would expect. 4. Run python manage.py test --tag=abc This DOES NOT spit out the assertion error on stdin, as I would expect. In fact it says tests were run successfully. This to me seems pretty dangerous. A module level error should be seen clearly, and tests should certainly not pass. Tested on python 3.8.3, django 3.1.4. Cammil -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e147691c-c88e-4198-b245-bc6ac2d0e726n%40googlegroups.com.