Skip to content

Commit b628a08

Browse files
committed
Changed to using TestCase from ietf.utils in some places, for consistent test-suite failure output.
- Legacy-Id: 12467
1 parent 6729e36 commit b628a08

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

ietf/api/tests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
import json
44

5-
from django.test import Client, TestCase
5+
from django.test import Client
66
from django.conf import settings
77
from django.utils.importlib import import_module
88
from django.db import models
@@ -12,6 +12,8 @@
1212

1313
import debug # pyflakes:ignore
1414

15+
from ietf.utils.test_utils import TestCase
16+
1517
OMITTED_APPS = (
1618
'ietf.secr.meetings',
1719
'ietf.secr.proceedings',

ietf/utils/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from django.template.defaulttags import URLNode
1919
from django.templatetags.static import StaticNode
2020
from django.template.loaders.filesystem import Loader
21-
from django.test import TestCase
2221

2322
import debug # pyflakes:ignore
2423

@@ -27,6 +26,7 @@
2726
from ietf.utils.mail import send_mail_text, send_mail_mime, outbox
2827
from ietf.utils.test_data import make_test_data
2928
from ietf.utils.test_runner import get_template_paths, set_coverage_checking
29+
from ietf.utils.test_utils import TestCase
3030
from ietf.group.models import Group
3131

3232
skip_wiki_glue_testing = False

ietf/utils/tests_restapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
debug.debug = True
55

66
from django.core.urlresolvers import reverse
7-
from django.test import TestCase
87

98
from tastypie.test import ResourceTestCaseMixin
109

1110
from ietf.utils.test_data import make_test_data
11+
from ietf.utils.test_utils import TestCase
1212

1313
class RestApi(ResourceTestCaseMixin, TestCase):
1414
def list_recursively(self, resource, format):

0 commit comments

Comments
 (0)