Permalink
Browse files

Fixed another stupid code error.

  • Loading branch information...
1 parent 4790693 commit fac3ee08dd48383aa9b586e8f967b085bcd1a419 Vladimir Gorej committed Nov 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 django_gearman_commands/tests/__init__.py
@@ -4,19 +4,19 @@
import pickle
from django.core.management import call_command
-from django.conf import settings
from django.test import TestCase
from django.core.cache import cache
from django_gearman_commands import GearmanServerInfo
+import django_gearman_commands.settings
log = logging.getLogger(__name__)
class GearmanCommandsTest(TestCase):
def test_server_info(self):
- server_info = GearmanServerInfo(settings.GEARMAN_SERVERS[0])
+ server_info = GearmanServerInfo(django_gearman_commands.settings.GEARMAN_SERVERS[0])
server_info.get_server_info()
self.assertTrue(server_info.server_version.startswith('OK'), 'Unexpected server version string')
self.assertTrue(type(server_info.tasks) is tuple, 'Unexpected server tasks type')

0 comments on commit fac3ee0

Please sign in to comment.