Valentin Lorentz
fee7ed4cd1
Fix 2to3 fixers to work with Python 3.
2013-01-06 13:34:13 +01:00
Valentin Lorentz
dc7ac9a7a8
travis.yml: Fix Python 3 build.
2013-01-06 13:31:34 +01:00
Valentin Lorentz
a5292ae3b4
core: Fix issue with Python 2.6 (cStringIO is buggy).
2013-01-06 11:34:32 +01:00
Valentin Lorentz
52e91d5f9c
src/test.py: Implement assertIn for old Python versions.
2013-01-05 21:16:30 +01:00
Valentin Lorentz
2bcffdf523
src/test.py: Implement assertIs for old Python versions.
2013-01-05 21:13:36 +01:00
Valentin Lorentz
139cb39ec5
MoobotFactoids: Fix tests with fastest computers.
2013-01-05 21:12:16 +01:00
Valentin Lorentz
fdb7a764d4
core & Filter & Owner: Fix Python 2.6 compatibibility.
2013-01-05 20:51:36 +01:00
Valentin Lorentz
b7b60630d8
Owner: Skip test of @rename for nested commands.
2013-01-05 20:32:39 +01:00
Valentin Lorentz
f44e033827
MoobotFactoids: Prevent race condition in tests (for fastest computers).
2013-01-05 20:19:59 +01:00
Valentin Lorentz
be3017f1de
Filter: Fix encoding issues in tests.
2013-01-05 20:05:36 +01:00
Valentin Lorentz
6e452e0496
Filter: Fix @rot13 with non-ascii strings.
2013-01-05 20:05:22 +01:00
Valentin Lorentz
e3e2b23215
src/test.py: Encode strings only if they are not already using unicode.
2013-01-05 20:04:46 +01:00
Valentin Lorentz
48b4fc5159
travis.yml: Remove Python 2.5 (support has already been dropped).
2013-01-05 19:22:45 +01:00
Valentin Lorentz
422dfc3679
PluginDownloader: Rename gsf to code4lib (upstream change).
2013-01-05 19:20:35 +01:00
Valentin Lorentz
775a1a2cde
PluginDownloader: Remove gsf tests (too long).
2013-01-05 19:20:03 +01:00
Valentin Lorentz
2177429618
Web: Remove netcraft (which does not seem to want bots).
2013-01-05 19:14:58 +01:00
Valentin Lorentz
63a4285941
MoobotFactoids: Add count of recent/top factoids (removed while internationalizing).
2013-01-05 19:13:37 +01:00
Valentin Lorentz
5afff1c0d6
MoobotFactoids: Fix encoding issue in tests.
2013-01-05 19:09:46 +01:00
Valentin Lorentz
bc7051e515
core: Fix tests of plugins using user id for checking capabilities.
2013-01-05 19:06:49 +01:00
Valentin Lorentz
db48d78050
Internet: Fix whois of domains whose whois server is too lazy to close a connection.
2013-01-05 18:46:56 +01:00
Valentin Lorentz
10197b9956
Internet: Fix whois on .com domains (if too many domains matched).
2013-01-05 18:20:52 +01:00
Valentin Lorentz
dd74982969
Internet: Remove test which fails if it is run too much ('WHOIS LIMIT EXCEEDED').
2013-01-05 18:20:32 +01:00
Valentin Lorentz
5f1d7cc097
Web: Fix test of snarfing (Microsoft changes the title based on location of the computer).
2013-01-05 18:03:13 +01:00
Valentin Lorentz
918092a54d
Web: Fix snarfing of titles with UTF-8 characters.
2013-01-05 18:02:35 +01:00
Valentin Lorentz
f9e8c35f01
travis.yml: fix config.
2013-01-05 17:44:27 +01:00
Valentin Lorentz
7edbb7b6c3
core: Fix tests using invalid hostmask.
2013-01-05 17:27:20 +01:00
Valentin Lorentz
29b9e080ee
travis.yml: Add pytz to the dependencies list.
2013-01-05 17:24:14 +01:00
Valentin Lorentz
a11cb6478a
ChannelStats: Fix tests.
2013-01-04 23:03:00 +01:00
Valentin Lorentz
4c23fae4d3
ShrinkUrl: Fix tests.
2013-01-04 22:56:12 +01:00
Valentin Lorentz
fe39d35b2f
core: Fix normalizeWhitespace handling of new lines.
2013-01-04 22:28:44 +01:00
Valentin Lorentz
29e13a9061
Fix 'more' wrapping for long words; bug introduced in 169392e5
.
2013-01-04 22:16:08 +01:00
Valentin Lorentz
e86768b61a
Misc: Fix testTell.
2013-01-04 22:01:36 +01:00
Valentin Lorentz
28dc3dd3ac
core: Fix normalizeWhitespace.
2013-01-04 20:25:25 +01:00
Valentin Lorentz
408f6e2288
supybot-test: Return appropriate status code.
2013-01-04 20:23:48 +01:00
Valentin Lorentz
de4f1b34d2
Revert "supybot-test: Return the appropriate exit code."
...
This reverts commit f7f53fc9f6
.
2013-01-04 20:21:26 +01:00
Valentin Lorentz
ae9b8c8b42
travis.yml: Run all tests in one command.
2013-01-04 20:17:49 +01:00
Valentin Lorentz
f7f53fc9f6
supybot-test: Return the appropriate exit code.
2013-01-04 20:00:11 +01:00
Valentin Lorentz
f4be98758f
travis.yml: Remove the --user switch to setup.py; travis uses virtualenv.
2013-01-04 19:55:33 +01:00
Valentin Lorentz
a2a52d4bf9
travis.yml: Add scripts to the path.
2013-01-04 19:46:34 +01:00
Valentin Lorentz
349b969dbf
travis.yml: Remove setuptools (installed by default).
2013-01-04 19:41:15 +01:00
Valentin Lorentz
3d7d27ec8a
Add travis integration.
2013-01-04 19:38:35 +01:00
Valentin Lorentz
1132728656
Merge branch 'testing' of github.com:ProgVal/Limnoria into testing
2013-01-01 21:12:38 +01:00
Valentin Lorentz
3dba9088b0
Merge remote-tracking branch 'supybot/master' into testing
...
Conflicts:
INSTALL
plugins/ChannelLogger/README.txt
plugins/ChannelStats/README.txt
plugins/Google/plugin.py
plugins/Google/test.py
plugins/Plugin/test.py
plugins/Web/test.py
setup.py
src/callbacks.py
src/ircdb.py
src/irclib.py
src/utils/str.py
test/test_irclib.py
2013-01-01 21:11:24 +01:00
James McCoy
295f9b1f0d
Make utils.str.soundex perform better when length is large
...
Closes: Sf patch#148
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-12-31 17:29:02 -05:00
Valentin Lorentz
281e036cee
Merge pull request #438 from TheLordOfTime/testing
...
Conditional: Add description about plugin to init
2012-12-31 08:37:50 -08:00
TheLordOfTime
417182c15a
Conditional: Add description about plugin to init
...
Fixes the issue in supybot-wizard which shows this type of output:
What plugin would you like to look at? [.../Conditional/...] Conditional
Add a description of the plugin (to be presented to the user inside the wizard)
here. This should describe *what* the plugin does.
Would you like to load this plugin? [y/n] (default: y)
2012-12-31 11:34:07 -05:00
Valentin Lorentz
79eeb8eb95
Revert "irclib: Apply changes to supybot.protocols.irc.maxHistoryLength immediately."
...
This reverts commit 1d2eefe880
.
IrcState instances are created more than five times a second! Imagine how much
memory is used (hint: 300MB five minutes after startup).
We should first try to reduce this amount.
2012-12-27 16:06:01 +00:00
Valentin Lorentz
1d2eefe880
irclib: Apply changes to supybot.protocols.irc.maxHistoryLength immediately.
2012-12-27 12:24:24 +00:00
Valentin Lorentz
cab1830140
utils.structures: Prevent a RingBuffer from being bigger than the new size, when calling resize().
2012-12-27 12:22:14 +00:00
Valentin Lorentz
6b7db2e9f1
test_irclib: Make use of context for maxHistoryLength.
2012-12-27 11:05:04 +00:00