xrange = range if sys.version_info < (2, 7): import unittest2 as unittest else: import unittest import os import time import tempfile import shutil import socket import errno from ioflo.aid.sixing import * from ioflo.aid.consoling import getConsole console = getConsole() from ioflo.aio import nonblocking def setUpModule(): console.reinit(verbosity=console.Wordage.concise) def tearDownModule(): pass class BasicTestCase(unittest.TestCase): """ Test Case """ def setUp(self):
import simplejson as json except ImportError: import json # Import ioflo libs from ioflo.aid.sixing import * from ioflo.aid.odicting import odict #from ioflo.test import testing from ioflo.aio import nonblocking from ioflo.aid import httping from ioflo.aid.timing import Timer from ioflo.aid.consoling import getConsole console = getConsole() from ioflo.aid import httping def setUpModule(): console.reinit(verbosity=console.Wordage.concise) def tearDownModule(): pass class BasicTestCase(unittest.TestCase): """ Test Case