tahoe-lafs/src/allmydata/test
Zooko O'Whielacronx c85f75bb08 immutable: refactor uploader to do just encoding-and-uploading, not encryption
This makes Uploader take an EncryptedUploadable object instead of an Uploadable object.  I also changed it to return a verify cap instead of a tuple of the bits of data that one finds in a verify cap.
This will facilitate hooking together an Uploader and a Downloader to make a Repairer.
Also move offloaded.py into src/allmydata/immutable/.
2009-01-06 21:48:22 -07:00
..
__init__.py re-enable incident-reporting, but disable it in unit tests, because they take 150% longer, and the leftover trailing timers cause errors 2008-07-06 23:49:08 -07:00
check_grid.py shebang: replace "/usr/bin/python" with "/usr/bin/env python" 2008-11-04 18:03:06 -07:00
check_load.py shebang: replace "/usr/bin/python" with "/usr/bin/env python" 2008-11-04 18:03:06 -07:00
check_memory.py storage: replace sizelimit with reserved_space, make the stats 'disk_avail' number incorporate this reservation 2008-12-01 17:24:21 -07:00
check_speed.py check_speed: rearrange a bit to make it easy to disable certain portions 2008-04-21 17:29:59 -07:00
common_util.py move testutil into test/common_util.py, since it doesn't count as 'code under test' for our pyflakes numbers 2008-10-28 21:28:31 -07:00
common.py rename "checker results" to "check results", because it is more parallel to "check-and-repair results" 2009-01-06 13:37:03 -07:00
figleaf.excludes move all packages into src/, fix allmydata.Crypto build. Now you must perform a 'setup.py build' before using anything, and you must add the build directory (build/lib.linux-i686-2.4) to your PYTHONPATH before doing anything 2006-12-14 03:39:50 -07:00
test_base62.py stop using 'as' as an identifier: as with 'with', 'as' has become a reserved word in python 2.6 2008-10-02 17:27:49 -07:00
test_cli.py cli: mark unicode filenames as unsupported -- see #534 for details 2008-12-24 13:28:02 -07:00
test_client.py storage: replace sizelimit with reserved_space, make the stats 'disk_avail' number incorporate this reservation 2008-12-01 17:24:21 -07:00
test_codec.py download: refactor handling of URI Extension Block and crypttext hash tree, simplify things 2008-12-05 08:17:54 -07:00
test_dirnode.py rename "checker results" to "check results", because it is more parallel to "check-and-repair results" 2009-01-06 13:37:03 -07:00
test_download.py test_download.py: remove extra base32 import 2008-12-02 18:31:26 -07:00
test_encode.py immutable: refactor uploader to do just encoding-and-uploading, not encryption 2009-01-06 21:48:22 -07:00
test_filenode.py rename "get_verifier()" to "get_verify_cap()" 2008-12-08 12:44:11 -07:00
test_hashtree.py immutable: refactor downloader to be more reusable for checker/verifier/repairer (and better) 2009-01-05 09:51:45 -07:00
test_helper.py immutable: refactor uploader to do just encoding-and-uploading, not encryption 2009-01-06 21:48:22 -07:00
test_immutable.py rename "checker results" to "check results", because it is more parallel to "check-and-repair results" 2009-01-06 13:37:03 -07:00
test_introducer.py #538: fetch version and attach to the rref. Make IntroducerClient demand v1 support. 2008-11-21 20:07:27 -07:00
test_iputil.py move testutil into test/common_util.py, since it doesn't count as 'code under test' for our pyflakes numbers 2008-10-28 21:28:31 -07:00
test_keygen.py util: move PollMixin to a separate file (pollmixin.py), so testutil can be moved into test/ 2008-10-28 21:15:48 -07:00
test_mutable.py mutable publish: if we are surprised by shares that match what we would have written anyways, don't be surprised. This should fix one of the two #546 problems, in which we re-use a server and forget that we already sent them a share. 2008-12-09 22:44:49 -07:00
test_netstring.py netstring: add required_trailer= argument 2008-09-26 09:57:54 -07:00
test_nevow.py test: update todo string in test_nevow 2008-02-29 13:10:08 -07:00
test_node.py tahoe.cfg: add tub.location, to override the location hints we include in our FURL. This replaces advertised_ip_addresses, which doesn't remain useful enough to retain it. Helps with #517 (Tor). 2008-11-12 18:44:58 -07:00
test_observer.py test_observer: improve test coverage 2007-03-08 16:13:14 -07:00
test_provisioning.py provisioning: oops, fix test_provisioning too 2007-09-07 15:01:17 -07:00
test_runner.py test: extend timeout on the hotline file that prevents the client from stopping itself 2008-12-21 21:06:29 -07:00
test_stats.py move testutil into test/common_util.py, since it doesn't count as 'code under test' for our pyflakes numbers 2008-10-28 21:28:31 -07:00
test_storage.py immutable: skip the test of large files, because that is too hard on the host if it doesn't efficiently handle sparse files 2009-01-05 17:07:27 -07:00
test_system.py immutable: refactor uploader to do just encoding-and-uploading, not encryption 2009-01-06 21:48:22 -07:00
test_upload.py upload: don't use servers which can't support the share size we need. This ought to avoid #439 problems. Some day we'll have a storage server which advertises support for a larger share size. No tests yet. 2008-11-21 20:28:12 -07:00
test_uri.py rename "get_verifier()" to "get_verify_cap()" 2008-12-08 12:44:11 -07:00
test_util.py util/abbreviate: add abbreviated-size parser 2008-12-01 17:24:12 -07:00
test_web.py try to tidy up uri-as-string vs. uri-as-object 2008-12-19 08:39:24 -07:00
trial_figleaf.py trial_figleaf.py: make our figleaf code compatible with both Twisted-8.x and Twisted-2.5.x 2008-04-02 17:48:55 -07:00