Re: Test fails silently when using --tag

2021-04-06 Thread Santlalkewat Kewat
santlalkew95...@gmail.com On 4 Apr 2021 6:56 p.m., "Cammil Taank" wrote: > 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

Re: Test fails silently when using --tag

2021-04-05 Thread Cammil Taank
Thanks for the responses. Cammil On Mon, 5 Apr 2021, 14:04 'Adam Johnson' via Django developers (Contributions to Django itself), wrote: > Great, thanks Tim. > > On Mon, 5 Apr 2021 at 13:28, Tim Graham wrote: > >> This was fixed a week ago (will be in Django 4.0). >>

Re: Test fails silently when using --tag

2021-04-05 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Great, thanks Tim. On Mon, 5 Apr 2021 at 13:28, Tim Graham wrote: > This was fixed a week ago (will be in Django 4.0). > https://code.djangoproject.com/ticket/29127 > > On Monday, April 5, 2021 at 5:18:45 AM UTC-4 Adam Johnson wrote: > >> Please don't report bugs here but to the ticket tracker.

Re: Test fails silently when using --tag

2021-04-05 Thread Tim Graham
This was fixed a week ago (will be in Django 4.0). https://code.djangoproject.com/ticket/29127 On Monday, April 5, 2021 at 5:18:45 AM UTC-4 Adam Johnson wrote: > Please don't report bugs here but to the ticket tracker. If you're not > sure there's a bug, django-users, the forum, or IRC are the

Re: Test fails silently when using --tag

2021-04-05 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Please don't report bugs here but to the ticket tracker. If you're not sure there's a bug, django-users, the forum, or IRC are the recommended venues. That said, I cannot reproduce your problem. Using django's main branch, I started a new project with a tests.py file using your exact content and

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