From d012df8504927308e0b25f40d209d73c05c5ca88 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Mon, 21 Dec 2009 02:16:43 +0100 Subject: [PATCH] use Django's testcase class to speed things up --- pyweb/mumble/tests.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyweb/mumble/tests.py b/pyweb/mumble/tests.py index 4b5c1eb..2e9290f 100644 --- a/pyweb/mumble/tests.py +++ b/pyweb/mumble/tests.py @@ -14,8 +14,7 @@ * GNU General Public License for more details. """ -from unittest import TestCase - +from django.test import TestCase from django.conf import settings from models import * @@ -74,6 +73,10 @@ class DataReading( TestCase ): """ Tests reading data from murmur using the low-level CTL methods. """ def setUp( self ): + # BIG FAT WARNING: This sucks ass, because it assumes the tester has a + # Murmur database like the one I have. + # I definitely need to prepare Murmur somehow before running these tests. + # Just don't yet know how. self.murmur = Mumble.objects.get(id=1);