| 1 |
from unittest import TestCase |
| 2 |
|
| 3 |
from django.test import tag |
| 4 |
|
| 5 |
|
| 6 |
@tag("slow") |
| 7 |
class TaggedTestCase(TestCase): |
| 8 |
@tag("fast") |
| 9 |
def test_single_tag(self): |
| 10 |
self.assertEqual(1, 1) |
| 11 |
|
| 12 |
@tag("fast", "core") |
| 13 |
def test_multiple_tags(self): |
| 14 |
self.assertEqual(1, 1) |