Changed to using TestCase from ietf.utils in some places, for consistent test-suite failure output.
- Legacy-Id: 12467
This commit is contained in:
parent
6729e36726
commit
b628a0844b
|
@ -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',
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue