1
0
mirror of https://github.com/django/django.git synced 2025-07-05 02:09:13 +00:00

[gsoc2009-testing] Adding a debugging statement

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Kevin Kubasik 2009-06-23 07:22:59 +00:00
parent e223716bd8
commit 7e0534bd34

View File

@ -92,6 +92,7 @@ def start_test_server(self, address='localhost', port=8000):
"""Creates a live test server object (instance of WSGIServer).""" """Creates a live test server object (instance of WSGIServer)."""
self.server_thread = TestServerThread(address, port) self.server_thread = TestServerThread(address, port)
if hasattr(self, 'fixtures'): if hasattr(self, 'fixtures'):
print 'loading fixtures %s' % self.fixtures
self.server_thread.__setattr__('fixtures', self.fixtures) self.server_thread.__setattr__('fixtures', self.fixtures)
self.server_thread.start() self.server_thread.start()
self.server_thread.started.wait() self.server_thread.started.wait()