Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed another stupid code error.

  • Loading branch information...
commit fac3ee08dd48383aa9b586e8f967b085bcd1a419 1 parent 4790693
@char0n char0n authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django_gearman_commands/tests/__init__.py
View
4 django_gearman_commands/tests/__init__.py
@@ -4,11 +4,11 @@
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__)
@@ -16,7 +16,7 @@
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')
Please sign in to comment.
Something went wrong with that request. Please try again.