Commit Graph

358 Commits

Author SHA1 Message Date
Jeremy Fincher
683ba63949 Fixed bug in IrcState.copy -- it wasn't doing deep copies. 2003-10-16 13:27:40 +00:00
Jeremy Fincher
ee24accaf7 Fixed bug in default argument for IrcMsg.__init__ -- args should default to (), not None. 2003-10-16 13:11:46 +00:00
Jeremy Fincher
b6185c4b33 Fixed problems with cpustats on Windows; at least now an error is reported. 2003-10-16 11:27:45 +00:00
Jeremy Fincher
c40f5e6c59 Fixed problems with cpustats on Windows; at least now an error is reported. 2003-10-16 11:27:45 +00:00
Jeremy Fincher
3c676f844a Removed the OwnerCommands.say command; it wasn't useful enough. 2003-10-16 10:47:48 +00:00
Jeremy Fincher
06a45ff35a Eh, just made the formatting of assertActionRegexp different. 2003-10-16 10:46:04 +00:00
Jeremy Fincher
889e99cec6 Fixed an invalid irc.error in the part command. 2003-10-16 10:43:35 +00:00
Daniel DiPaolo
2ddb080a73 * added assertActionRegexp (semi-tested, not thoroughly tested) 2003-10-16 05:45:26 +00:00
Daniel DiPaolo
aee5c6c18e * Finished up MoobotFactoids, I think. Added delete, augmentFactoids (foo is
also bar), and replaceFactoids (no foo is bar), as well as cleaning up some
  of the regexps that were there (we allow spaces in the factoids, dummy!), and
  also made the addFactoids regexp more accomodating to other phrases with the
  word "is" in them :)  Also, updated the tests for it, of course.
2003-10-16 05:27:01 +00:00
Daniel DiPaolo
ea024def78 * Fixed some quoting issues in list*. Adopted the practice of repr()'ing all
factoid keys before displaying them (idea stolen from searchfactoids in
  Factoids).  Also fixed them in the tests as well as adding a test to insure
  that it's done right.
* Added the listkeys and listvalues commands.
2003-10-16 03:51:53 +00:00
James Vega
fafa01659c Add some more tests to verify the depluralization efforts. Also split the http
and https snarfer tests into seperate functions.
2003-10-16 02:43:44 +00:00
Daniel DiPaolo
ddfd7e10e1 * LOTS of updates to the MoobotFactoids test suite, parts of which aren't ready
yet, but the test targets should be pretty static from here on out, except
  adding new tests.
* Fixed up lock and coded unlock in MoobotFactoids (actually, factored the
  common code out into one helper function that each call).
* Added the changeFactoids (=~) portion.
* Changed the table structure again (should be the last time).  Locked_by was
  redundant if we're only going to let factoid creators lock/unlock.  Removed
  it.
2003-10-16 02:03:35 +00:00
Jeremy Fincher
bd7f1f9389 Fixed the snarfer to allow https links. 2003-10-15 05:37:21 +00:00
Jeremy Fincher
b6fb71d5a5 Added one minor thing so *all* unexpired news items aren't shown. 2003-10-15 05:30:02 +00:00
Jeremy Fincher
ed3d757081 Made perlReToPythonRe always raise a ValueError instead of re.error. 2003-10-15 05:07:07 +00:00
Jeremy Fincher
388e17130d Oops, left some debugging prints in. 2003-10-15 04:49:47 +00:00
Jeremy Fincher
0ac86a778d Made sure ChannelPluginTestCase only reworks the message if its command is PRIVMSG. 2003-10-15 04:46:40 +00:00
Jeremy Fincher
6476e63f20 Added an unban command. 2003-10-15 04:46:19 +00:00
Jeremy Fincher
db720ce810 Added verbose command line option. 2003-10-15 04:43:52 +00:00
Jeremy Fincher
6712760e5b Added test to make sure MODEs came before PRIVMSGs. 2003-10-15 03:19:16 +00:00
Jeremy Fincher
50d777e41f Added test to make sure unban worked. 2003-10-15 03:16:35 +00:00
Jeremy Fincher
cb4b35704c Fixed timeouts. 2003-10-14 16:06:43 +00:00
Daniel DiPaolo
27796b01a3 * Updating MoobotFactoids tests to include more tests (testGetFactoid) 2003-10-14 15:17:08 +00:00
Jeremy Fincher
79ea3b1363 Moved bestuptime over to the Status plugin. 2003-10-14 06:39:31 +00:00
Jeremy Fincher
e4c64ec2ca Made *everything* case-insensitive. 2003-10-14 05:54:11 +00:00
Jeremy Fincher
b515336d14 Added commented-out test for log with multiple arguments. 2003-10-14 04:25:09 +00:00
Jeremy Fincher
b692681e1c Found bug in utils.sortBy, mentioned by Tim Peters on Python-dev. Fixed, and tested. 2003-10-14 03:47:35 +00:00
Jeremy Fincher
8e37d2ae88 Made loadPluginModule case-insensitive. 2003-10-14 03:34:47 +00:00
Jeremy Fincher
cfb4a0ba07 Added assertAction to PluginTestCase. 2003-10-14 00:41:11 +00:00
Daniel DiPaolo
3ae813674e * adding MoobotFactoids stuff as per jemfinch's request - though it's not quite
done yet
2003-10-13 21:22:16 +00:00
Jeremy Fincher
f706191201 Added test for rpn 2 degrees and fixed rpn to pass it. 2003-10-13 04:54:57 +00:00
Jeremy Fincher
6c3e193b93 Fixed bug found by G-LiTe and added a test. 2003-10-13 03:47:33 +00:00
Jeremy Fincher
a0fe5410c0 Fixed bug in perlReToReplacer where escaped slashes would stay in the output. 2003-10-12 13:11:53 +00:00
James Vega
2acf59d781 Added a urlsnarfer and the appropriate tests 2003-10-11 20:52:35 +00:00
Jeremy Fincher
eb2db79d36 Fixed error messages in timeout cases to be more understandable, and added platform-independence in the -e option. 2003-10-11 17:34:52 +00:00
Jeremy Fincher
4cb7c18392 Fixed tests for all; added additional test cases for the empty sequence. 2003-10-11 12:31:45 +00:00
Jeremy Fincher
2140a8ac20 Fixed bug in test for variable. 2003-10-11 10:26:56 +00:00
Jeremy Fincher
eb01a8e99d Removed pi -> 3.14 capability. 2003-10-11 03:37:38 +00:00
James Vega
3c5978a76e Added the Sourceforge plugin (which has the commands: bugs and rfes) and the
accompanying tests
2003-10-10 13:47:06 +00:00
Jeremy Fincher
7fe7c03d81 Removed the whole dealio with PRINTF and whatnot. 2003-10-10 06:03:02 +00:00
Daniel DiPaolo
9f2352fbea * Fixed searchtodo
* Wrote tests for Todo.py
2003-10-10 05:47:19 +00:00
Jeremy Fincher
88f33ed8dd Added test for ellipsisify. 2003-10-10 04:23:14 +00:00
Jeremy Fincher
18a8f81985 Fixed bug in list where _exec would show. 2003-10-09 18:06:46 +00:00
Jeremy Fincher
8df7fb6064 Added timeout and plugindir options. 2003-10-09 16:59:12 +00:00
Jeremy Fincher
30b054c6cb Fixed several bugs and added a test to make sure they don't happen again. 2003-10-09 16:38:14 +00:00
Jeremy Fincher
155aeebe42 Added dccIP and unDccIP. 2003-10-09 16:12:53 +00:00
Jeremy Fincher
fc24f3ded1 Made seen case-insensitive. 2003-10-09 06:43:58 +00:00
Jeremy Fincher
8eed3f0982 Stupid __eq__ not being used in __ne__... 2003-10-09 05:46:35 +00:00
Jeremy Fincher
ce0002f454 Made IrcString more efficient/better, added a test for it. 2003-10-09 05:34:44 +00:00
Jeremy Fincher
aa7efcbad9 Fix for some bad tests; added support, fixed a long-latent bug that I thought was being tested for but wasn't. 2003-10-09 05:00:56 +00:00