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 test_basic(self):
        self.assertFalse(True)

2. Run python manage.py test
This should fail as expected

3. Run python manage.py test --tag=abc
This for me passes without any error

Cammil

----
ontono.com/cammil
taanktech.com
linkedin.com/cammiltaank <https://www.linkedin.com/in/cammiltaank/>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CACc%3DA%3D1gOcps2ameDdo4qkDo64%3DcRB99SrbH%3DxrKx5XeSE%2Bk5Q%40mail.gmail.com.
  • Tes... Cammil Taank
    • ... 'Adam Johnson' via Django developers (Contributions to Django itself)
      • ... Tim Graham
        • ... 'Adam Johnson' via Django developers (Contributions to Django itself)
          • ... Cammil Taank
    • ... Santlalkewat Kewat

Reply via email to