Commit 85e6c8c0 authored by Julien Muchembled's avatar Julien Muchembled

Always enable 'live_debug' in unit tests

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2675 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent e7022ebe
......@@ -26,7 +26,7 @@ import MySQLdb
import neo
from mock import Mock
from neo.lib import protocol
from neo.lib import live_debug, protocol
from neo.lib.protocol import Packets
from neo.lib.util import getAddressType
from time import time, gmtime, sleep
......@@ -44,6 +44,9 @@ IP_VERSION_FORMAT_DICT = {
ADDRESS_TYPE = socket.AF_INET
live_debug.ENABLED = True
live_debug.register()
def buildUrlFromString(address):
try:
socket.inet_pton(socket.AF_INET6, address)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment