Hello. Perhaps you need to use LiveServerTestCase, but it appears only in
Django 1.4.
https://docs.djangoproject.com/en/dev/topics/testing/?from=olddocs#django.test.LiveServerTestCase
четверг, 26 февраля 2009 г., 17:54:25 UTC+4 пользователь x_O написал:
>
> Hi
>
> Recently I'm trying to write
Hi
Recently I'm trying to write tests for almost every thing in my code.
Including HTTP and XMLRPC requests.
from django.test import TestCase
class XmlRpcCase(TestCase):
def setUp(self):
self.xmlrpc = xmlrpclib.ServerProxy("http://127.0.0.1:8000/
store/xmlrpc")
def
2 matches
Mail list logo