/home/warner/testnet/node-2/storage/shares/44k/44kai1tui348689nrw8fjegc8c/2
"""
from allmydata import storage
- from allmydata.util import idlib
sharedir = storage.storage_index_to_dir(storage.si_a2b(config.si_s))
for d in config.nodedirs:
def test_ende_0x0100(self):
return self._test_ende('\x01\x00')
- def test_ende_0x010000(self):
- return self._test_ende('\x01\x00\x00')
-
def test_ende_0x000000(self):
return self._test_ende('\x00\x00\x00')
assert bs == bs2l
def suite():
- suite = unittest.makeSuite(base62TestCase, 'test')
+ suite = unittest.makeSuite(T, 'test')
return suite
if __name__ == "__main__":
from foolscap.logging import log
from allmydata import offloaded, storage, upload
-from allmydata.util import hashutil, fileutil, idlib, mathutil
+from allmydata.util import hashutil, fileutil, mathutil
from pycryptopp.cipher.aes import AES
MiB = 1024*1024
# from the Python Standard Library
import string
-from allmydata.util.mathutil import div_ceil, log_ceil, log_floor
+from allmydata.util.mathutil import log_ceil, log_floor
chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"