Commit Graph

40 Commits

Author SHA1 Message Date
John Garland eaad867885 Update get_free_space test 2010-08-31 00:11:54 +10:00
Andrew Resch d93fcf6eea Fix #1341 issue where Config would try to cancel the save_timer when it is None. 2010-08-18 12:32:11 -07:00
Andrew Resch 8797c3ce1b Add additional test for get_torrents_status and fix the other one to properly invalidate the cache
time from startup before proceeding
2010-08-18 12:17:23 -07:00
Andrew Resch 79749cca03 Add test to demonstrate flaw in SessionProxy design. Need to keep track of update times for each
status key individually to fix this.
2010-08-18 11:05:21 -07:00
Andrew Resch 97453d1411 Add test suite for SessionProxy 2010-08-10 09:58:28 -07:00
John Garland 1ce480ff23 Only use an icon if it passes some sanity checks 2010-07-17 17:13:15 +10:00
Andrew Resch b3eed8a1f0 Add test for tracker_icons for when requesting an icon for host that is "". This test results in an infinite loop. 2010-05-08 20:10:12 -07:00
John Garland 6bb4559d18 Make host_to_url support redirection and add another test 2010-05-08 16:26:08 +10:00
John Garland d6c8b13041 Handle trackers with incorrect / missing icon mimetypes 2010-05-05 03:19:54 +10:00
Damien Churchill facb4669e3 add the ubuntu icon 2010-05-03 22:01:20 +01:00
Damien Churchill e4ef17975c stop parsing the html page once the parser has left the <head> of the page 2010-05-03 21:28:25 +01:00
John Garland 88929d4821 Rewrite tracker_icons.py (#995) 2010-05-04 04:37:19 +10:00
John Garland 8747611e9e Add decorators module and test file 2010-05-04 04:33:21 +10:00
John Garland d6b7917350 Fix test_add_torrent_url_with_cookies 2010-04-27 03:01:54 +10:00
Andrew Resch 7be5b4c8bc Add 2 new states to Component: Starting and Stopping
Fix issue where a Component could have it's start and stop methods called more than once while waiting for their deferreds to fire
2010-03-27 20:05:20 -07:00
Andrew Resch 46a6576c68 Fix test_component to properly return deferreds from it's test methods 2010-03-27 19:43:42 -07:00
Andrew Resch c978c6d016 Fix test_alertmanager 2010-03-25 11:47:05 -07:00
John Garland a93bbc35a1 Merged test_versionsplit.py into test_common.py 2010-03-22 18:16:17 +11:00
John Garland 79ab0f118f Add test case for deluge/common.py 2010-03-22 18:11:21 +11:00
Andrew Resch 9d13b17a3c Fix VersionSplit comparison to do a proper compare and not simply
against the version strings
2010-03-21 15:57:53 -07:00
Andrew Resch 16b832f7ab Fix importing libtorrent 2010-03-20 19:15:33 -07:00
Andrew Resch b0714f625f Rewrite component module to handle deferreds properly
Add test_component
Fix test_core to work with new component module
2010-03-20 19:15:33 -07:00
John Garland d9b9f22998 Completely disable gzip decoding when allow_compression=False. Add extra test. 2010-01-16 04:50:01 +00:00
John Garland 5a8c443d50 Add another test to httpdownloader.
Make it compatible with python 2.5.
2009-12-21 13:48:00 +00:00
John Garland 5991abcec5 Use filename suggested by content-disposition header.
Closes #1040.
2009-10-29 06:02:20 +00:00
Andrew Resch 1cfc057b05 Add new maketorrent module 2009-08-12 00:09:22 +00:00
Andrew Resch 8425e9915d Move the add_torrent_url_with_cookie url to our server 2009-08-04 01:01:26 +00:00
Andrew Resch ac9be780cf Revert 5619
Fix find_json_objects when there is a newline at the end of the string
Add test for find_json_objects
2009-08-03 20:27:03 +00:00
Andrew Resch 704435f721 Config copies the defaults dict now since it is mutable
Fix saving with the save_timer after setting an item
Add test for testing the save timer
2009-08-03 18:43:05 +00:00
Andrew Resch e8b04c1542 Add a test for saving the config 2009-08-03 17:39:12 +00:00
Andrew Resch ded6bb9566 Change the config format
Add test_config
2009-08-01 02:26:26 +00:00
John Garland eef9345e8b Add test file for httpdownloader. 2009-07-31 23:53:23 +00:00
Andrew Resch 100dd1e2a7 Fix test_client 2009-07-25 04:05:00 +00:00
Andrew Resch 2731d5be17 Fix get_free_space test 2009-07-25 01:49:05 +00:00
Andrew Resch e24ba6a025 Change core.test_listen_port to use twisted instead of urllib
Add test for test_listen_port
Remove some unncessary code
2009-07-25 00:30:45 +00:00
Andrew Resch 5977647528 Add get_free_space() to core 2009-07-24 23:36:43 +00:00
Andrew Resch 037871e1b3 Fix up some docstrings
Add some deprecation warnings
Add more tests for core
2009-07-23 21:19:01 +00:00
Andrew Resch 1b7be24bdf Change core.remove_torrent to only accept one torrent_id, not a list
Added test for core.remove_torrent
2009-07-23 04:14:08 +00:00
John Garland c9228c99a7 Updated docstring in add_torrent_url.
Wrote test for add_torrent_url which tests sending headers.
2009-07-21 02:45:16 +00:00
Damien Churchill cd7b202d9d moves tests out of the deluge package 2009-07-20 09:01:43 +00:00