from allmydata.util.encodingutil import get_filesystem_encoding, quote_output, \
from_utf8_or_none
from allmydata.util.fileutil import abspath_expanduser_unicode
-from allmydata.util.abbreviate import parse_abbreviated_size
from allmydata.util.time_format import parse_duration, parse_date
from allmydata.stats import StatsProvider
from allmydata.history import History
-import os.path
+
import simplejson
+
from twisted.trial import unittest
from cStringIO import StringIO
from allmydata import uri
-from allmydata.util import base32
+from allmydata.util import base32, fileutil
from allmydata.util.encodingutil import quote_output, to_str
from allmydata.mutable.publish import MutableData
from allmydata.immutable import upload
from allmydata import uri, client
from allmydata.nodemaker import NodeMaker
from allmydata.util import base32, consumer, fileutil, mathutil
-from allmydata.util.fileutil import abspath_expanduser_unicode
from allmydata.util.hashutil import tagged_hash, ssk_writekey_hash, \
ssk_pubkey_fingerprint_hash
from allmydata.util.consumer import MemoryConsumer