tahoe-lafs/src/allmydata/test
Brian Warner b4ec86c95a update many dirnode interfaces to accept dict-of-nodes instead of dict-of-caps
interfaces.py: define INodeMaker, document argument values, change
               create_new_mutable_directory() to take dict-of-nodes. Change
               dirnode.set_nodes() and dirnode.create_subdirectory() too.
nodemaker.py: use INodeMaker, update create_new_mutable_directory()
client.py: have create_dirnode() delegate initial_children= to nodemaker
dirnode.py (Adder): take dict-of-nodes instead of list-of-nodes, which
                    updates set_nodes() and create_subdirectory()
web/common.py (convert_initial_children_json): create dict-of-nodes
web/directory.py: same
web/unlinked.py: same
test_dirnode.py: update tests to match
2009-10-17 12:28:29 -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
bench_dirnode.py Overhaul IFilesystemNode handling, to simplify tests and use POLA internally. 2009-08-15 04:28:46 -07:00
check_grid.py check_grid.py: print stderr when a subcommand fails 2009-06-22 19:28:33 -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 switch to using RemoteException instead of 'wrapped' RemoteReferences. Should fix #653, the rref-EQ problem 2009-05-21 17:46:32 -07:00
check_speed.py test/check_speed.py: fix shbang line 2009-08-17 17:59:48 -07:00
common_util.py tests: stop using setUpClass/tearDownClass, since they've been deprecated in Twisted-8.2.0 2009-02-23 14:43:12 -07:00
common_web.py tests/no_network: move GET into the GridTestMixin class 2009-02-24 18:33:00 -07:00
common.py test/common.py: update FakeMutableFileNode to new contents= callable scheme 2009-10-12 22:21:54 -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
no_network.py Overhaul IFilesystemNode handling, to simplify tests and use POLA internally. 2009-08-15 04:28:46 -07:00
test_backupdb.py test_backupdb: make the not-a-database file larger, since the older sqlite-2.3.2 on OS-X is easily fooled 2009-02-19 18:04:09 -07:00
test_base62.py doc: licensing cleanups 2009-09-20 10:16:31 -07:00
test_checker.py big rework of introducer client: change local API, split division of responsibilites better, remove old-code testing, improve error logging 2009-06-22 19:10:47 -07:00
test_cli.py replace dirnode.create_empty_directory() with create_subdirectory(), which 2009-10-12 19:15:20 -07:00
test_client.py Tolerate unknown URI types in directory structures. Part of #683. 2009-07-02 18:07:49 -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_consolidate.py consolidator: re-use more directories, add total directories seen-vs-used counts 2009-03-12 20:48:01 -07:00
test_crawler.py switch all foolscap imports to use foolscap.api or foolscap.logging 2009-05-21 17:38:23 -07:00
test_deepcheck.py replace dirnode.create_empty_directory() with create_subdirectory(), which 2009-10-12 19:15:20 -07:00
test_dirnode.py update many dirnode interfaces to accept dict-of-nodes instead of dict-of-caps 2009-10-17 12:28:29 -07:00
test_download.py test: multiple by 10 or so all timeouts that Zandr's ARM box just overran 2009-06-10 05:56:39 -07:00
test_encode.py clean up storage_broker interface: should fix #732 2009-06-21 16:51:19 -07:00
test_filenode.py Overhaul IFilesystemNode handling, to simplify tests and use POLA internally. 2009-08-15 04:28:46 -07:00
test_hashtree.py hashtree: fix tests of depth_of 2009-04-03 16:56:14 -07:00
test_helper.py de-Service-ify Helper, pass in storage_broker and secret_holder directly. 2009-08-15 13:17:37 -07:00
test_immutable.py immutable.Downloader: pass StorageBroker to constructor, stop being a Service 2009-08-15 12:25:43 -07:00
test_introducer.py remove introducer/old.py, will create something similar when the RIIntroducer changes 2009-06-24 12:40:38 -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 switch to using RemoteException instead of 'wrapped' RemoteReferences. Should fix #653, the rref-EQ problem 2009-05-21 17:46:32 -07:00
test_mutable.py client.create_mutable_file(contents=) now accepts a callable, which is 2009-10-12 20:12:32 -07:00
test_netstring.py directories: keep track of your position as you decode netstring after netstring from an input buffer instead of copying the trailing part 2009-07-04 19:51:09 -07:00
test_nevow.py test: update todo string in test_nevow 2008-02-29 13:10:08 -07:00
test_no_network.py test/no_network: new test harness, like system-test but doesn't use the network so it's faster 2009-02-16 14:58:44 -07:00
test_node.py switch all foolscap imports to use foolscap.api or foolscap.logging 2009-05-21 17:38:23 -07:00
test_observer.py test_observer: improve test coverage 2007-03-08 16:13:14 -07:00
test_provisioning.py reliability.py: fix the numpy conversion, it was completely broken. Thanks to Terrell Russell for the help. 2009-02-19 13:55:15 -07:00
test_repairer.py Verifier: check the full cryptext-hash tree on each share. Removed .todos 2009-10-05 15:18:49 -07:00
test_runner.py tests: double the timeout on test_runner.RunNode.test_introducer since feisty hit a timeout 2009-08-15 09:05:12 -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 PollMixin: snoop trial's error observer to halt the test early if an error is seen. This turns a lot of timeouts into fast failures. 2009-06-22 19:07:31 -07:00
test_system.py replace dirnode.create_empty_directory() with create_subdirectory(), which 2009-10-12 19:15:20 -07:00
test_upload.py Overhaul IFilesystemNode handling, to simplify tests and use POLA internally. 2009-08-15 04:28:46 -07:00
test_uri.py rename NewDirectoryNode to DirectoryNode, NewDirectoryURI to DirectoryURI 2009-07-17 17:15:49 -05:00
test_util.py move dirnode.CachingDict to dictutil.AuxValueDict, generalize method names, 2009-10-17 11:00:05 -07:00
test_web.py webapi: t=mkdir now accepts initial children, using the same JSON that t=json 2009-10-12 19:34:44 -07:00
trial_figleaf.py setup: remove a convenience copy of figleaf, to ease inclusion into Ubuntu Karmic Koala 2009-09-23 22:32:15 -07:00