import os
from twisted.trial import unittest
from twisted.application import service
-from twisted.internet import reactor, defer
from twisted.python import log
import allmydata
from allmydata.util import hashutil, testutil
from allmydata.test.common import make_chk_file_uri, make_mutable_file_uri, \
FakeDirectoryNode, create_chk_filenode
-from twisted.internet import defer, reactor
# to test dirnode.py, we want to construct a tree of real DirectoryNodes that
# contain pointers to fake files. We start with a fake MutableFileNode that
import os, sys, time, re, simplejson
from cStringIO import StringIO
from twisted.trial import unittest
-from twisted.internet import defer, reactor
+from twisted.internet import defer
from twisted.internet import threads # CLI tests use deferToThread
from twisted.internet.error import ConnectionDone, ConnectionLost
from twisted.application import service