Commit Graph

54 Commits

Author SHA1 Message Date
Jeremy Fincher
7fe7c03d81 Removed the whole dealio with PRINTF and whatnot. 2003-10-10 06:03:02 +00:00
Jeremy Fincher
8df7fb6064 Added timeout and plugindir options. 2003-10-09 16:59:12 +00:00
Jeremy Fincher
52757421e0 Made sure debug.PRINTF was True. 2003-10-08 13:46:35 +00:00
Jeremy Fincher
f93b1e305a Optparsified, and added the -e option to exclude certain tests. 2003-10-07 14:09:13 +00:00
Jeremy Fincher
6bbbededdc Ugh, Windows. 2003-10-05 21:24:05 +00:00
Jeremy Fincher
c32a207791 Updated to allow flags to be specified in assert{Not}Regexp, and to default to use re.I. 2003-10-05 20:32:42 +00:00
Jeremy Fincher
ef517515f7 Removed star imports. 2003-10-05 13:02:56 +00:00
Jeremy Fincher
fee74e9bd1 Moved some stuff to the __main__ part to make sure it's called only once. 2003-10-05 04:42:46 +00:00
Jeremy Fincher
6429a00a9a Made sure to reset the debug file descriptors; fixed logfilesize test. 2003-09-29 04:42:15 +00:00
Jeremy Fincher
6e23e1d080 Made sure ChannelPluginTestCase actually joined the channel in setUp. 2003-09-29 04:36:05 +00:00
Jeremy Fincher
359ad14888 Updated for the help/morehelp -> syntax/help conversion. 2003-09-25 08:29:24 +00:00
Jeremy Fincher
a13c8ab528 Removed the old sys.path-munging code now that we're disutil'ed. 2003-09-24 07:28:25 +00:00
Jeremy Fincher
d39475b528 Made sure PluginDocumentation didn't check PrivmsgRegexp instances. 2003-09-22 10:27:15 +00:00
Jeremy Fincher
a02282c957 Changed how logging through the debug module is handled. 2003-09-18 10:25:47 +00:00
Jeremy Fincher
4ab9dc7718 Added changeusername command and fixed the framework so tests could run. 2003-09-18 07:52:34 +00:00
Jeremy Fincher
0a2539c199 Fixed bug where ChannelPluginTestCase would try to chop off the first word of an ACTION. 2003-09-18 07:19:47 +00:00
Jeremy Fincher
40de833c24 Converted test framework to use the new functions in OwnerCommands. 2003-09-18 05:59:08 +00:00
Jeremy Fincher
b34b6efd14 Fixed to use the proper nick. 2003-09-13 14:48:49 +00:00
Jeremy Fincher
176b9b30b6 Fix for RFE #801934: Response in case of non-commands. 2003-09-10 08:32:20 +00:00
Jeremy Fincher
e0fae30f46 Now allow multiple plugin directories, RFE #802614. 2003-09-10 06:05:58 +00:00
Jeremy Fincher
74d3b7820f Added PluginDocumentation to test to make sure all commands have documentation. 2003-09-06 06:23:03 +00:00
Jeremy Fincher
f1a9b3f546 Added a sleep to the spinloop so it doesn't suck up 100% cpu. 2003-09-05 17:35:46 +00:00
Jeremy Fincher
442392b5ba Guarded inserts into sys.path. 2003-08-30 19:20:08 +00:00
Jeremy Fincher
953fe860b3 Made error messages more elucidating in PluginTestCase. 2003-08-29 07:33:13 +00:00
Jeremy Fincher
22fcd451e8 Made sure the data directory is pristine before each test. And fixed a typo. 2003-08-29 00:42:04 +00:00
Jeremy Fincher
6066376c6d Handled more user-friendlyily the case where they forget to make plugins a tuple and just put a string in PluginTestCase.plugins. 2003-08-28 23:33:31 +00:00
Jeremy Fincher
8d669471ba Added assertNotRegexp to PluginTestCase. 2003-08-27 16:03:12 +00:00
Jeremy Fincher
95d689005a Raised the debug.minimumDebugPriority so output during tests isn't so ugly. 2003-08-25 20:14:20 +00:00
Jeremy Fincher
17f00fbeb3 Updated PluginTestCase to allow asynchronous test cases and added test_TwistedCommands.py. 2003-08-25 18:54:37 +00:00
Jeremy Fincher
65af25467a Raise exception in PluginsTestCase.setUp if no self.plugins. 2003-08-25 05:25:24 +00:00
Jeremy Fincher
6cc3103656 Added PluginTestCase.{getMsg,assertNoResponse} and a timeout option to some commands. 2003-08-25 05:12:43 +00:00
Jeremy Fincher
270982d422 Has more useful failure messages and does proper tearDown of the irc object now. 2003-08-23 03:47:00 +00:00
Jeremy Fincher
ca646716b1 Removed spaces at the end of lines. 2003-08-20 16:26:23 +00:00
Jeremy Fincher
7fd35a1071 Made some changes to satisfy PyChecker. 2003-08-19 10:38:45 +00:00
Jeremy Fincher
2c6f505bea Added vim modelines. 2003-08-17 22:13:10 +00:00
Jeremy Fincher
384393d386 Re-enabled the part that says how many asserts there are. 2003-08-17 06:25:41 +00:00
Jeremy Fincher
14043d28e2 Tyop. 2003-08-17 02:07:40 +00:00
Jeremy Fincher
b78cabaed5 Wrote some more tests for FunCommands; found some bugs in the process. 2003-08-17 02:02:53 +00:00
Jeremy Fincher
bbf0f711bf Added assertError, assertRegexp, and assertRegexps to PluginTestCase 2003-08-15 06:24:44 +00:00
Jeremy Fincher
0415251146 Added assertNoError to PluginTestCase 2003-08-15 02:28:51 +00:00
Jeremy Fincher
feda60aff2 Updated some tests. 2003-08-11 17:06:42 +00:00
Jeremy Fincher
09f2ae8412 Made PluginTestCase handle multiple plugins. 2003-08-11 05:15:16 +00:00
Jeremy Fincher
1a05dc957b Made PluginTestCase handle threaded plugins properly. 2003-08-11 05:09:59 +00:00
Jeremy Fincher
84b96108b5 Added TestCase subclass for testing plugins. (Also removed Cmd class from previous attempt) 2003-08-10 11:22:18 +00:00
Jeremy Fincher
8a5e50b55a Added show of how many asserts were done. 2003-04-29 13:02:09 +00:00
Jeremy Fincher
0aa5ece16a Trying new syncmail, added Cmd class. 2003-04-24 07:58:16 +00:00
Jeremy Fincher
7e1eb72849 Forgot to change test.py based on change in testing module names. 2003-04-20 17:16:43 +00:00
Jeremy Fincher
31d2de0d9a Added nice 'nicks' attribute. 2003-04-14 07:21:27 +00:00
Jeremy Fincher
2c97e73617 Added changes for world.testing and inserted 'plugins' into the sys.path. 2003-04-08 07:25:16 +00:00
Jeremy Fincher
d0a569eb31 Added rawmsgs, msgs, and getMsgs for easy test messages. 2003-04-05 10:32:14 +00:00