Changed to using TestCase from ietf.utils in some places, for consistent test-suite failure output.

- Legacy-Id: 12467
This commit is contained in:
Henrik Levkowetz 2016-12-07 11:03:32 +00:00
parent 6729e36726
commit b628a0844b
3 changed files with 5 additions and 3 deletions

View file

@ -2,7 +2,7 @@ import os
import sys
import json
from django.test import Client, TestCase
from django.test import Client
from django.conf import settings
from django.utils.importlib import import_module
from django.db import models
@ -12,6 +12,8 @@ from tastypie.test import ResourceTestCaseMixin
import debug # pyflakes:ignore
from ietf.utils.test_utils import TestCase
OMITTED_APPS = (
'ietf.secr.meetings',
'ietf.secr.proceedings',

View file

@ -18,7 +18,6 @@ from django.template import Context
from django.template.defaulttags import URLNode
from django.templatetags.static import StaticNode
from django.template.loaders.filesystem import Loader
from django.test import TestCase
import debug # pyflakes:ignore
@ -27,6 +26,7 @@ from ietf.utils.management.commands import pyflakes
from ietf.utils.mail import send_mail_text, send_mail_mime, outbox
from ietf.utils.test_data import make_test_data
from ietf.utils.test_runner import get_template_paths, set_coverage_checking
from ietf.utils.test_utils import TestCase
from ietf.group.models import Group
skip_wiki_glue_testing = False

View file

@ -4,11 +4,11 @@ import debug
debug.debug = True
from django.core.urlresolvers import reverse
from django.test import TestCase
from tastypie.test import ResourceTestCaseMixin
from ietf.utils.test_data import make_test_data
from ietf.utils.test_utils import TestCase
class RestApi(ResourceTestCaseMixin, TestCase):
def list_recursively(self, resource, format):