bendikro
8e7432e71c
Added a protocol for the network traffic between client and daemon.
...
Implemented a protocol layer above twisted.internet.protocol.Protocol
which guarantees correct transfer of RPC messages. The network messages
are transfered with a header containing the length of the message.
2012-07-02 02:09:14 +02:00
Damien Churchill
2beec764c9
move tests back inside the deluge package, makes it easier to run trial on them
2010-10-22 16:36:52 +01:00
Andrew Resch
45940b9064
Fix #1373 use of cyrllic paths
2010-10-16 12:56:00 -07:00
Chase Sterling
915db80a55
Fix VersionSplit behavior when comparing to a dev version.
2010-09-11 16:27:29 -04:00
John Garland
5b1bed5a48
Update get_free_space test
2010-08-30 23:49:49 +10:00
Andrew Resch
01773e433f
Fix #1341 issue where Config would try to cancel the save_timer when it is None.
2010-08-18 12:33:09 -07:00
Andrew Resch
7d64f057c7
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:15:16 -07:00
Andrew Resch
48d016e97d
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:06:10 -07:00
Andrew Resch
ce8ef4f95b
Add test suite for SessionProxy
2010-08-10 09:57:00 -07:00
John Garland
22a1448372
Only use an icon if it passes some sanity checks
2010-07-17 17:11:19 +10:00
Andrew Resch
245b799ccf
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:01:46 -07:00
John Garland
e8788bde08
Make host_to_url support redirection and add another test
2010-05-08 16:25:16 +10:00
John Garland
50cfd9c9b1
Update tests
2010-05-06 23:06:53 +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