Limnoria/test
Valentin Lorentz 32d8d141ad Make irc.error do nothing is no string is given as argument.
Fixes c1d3bad64f, which crashed with:

```
ERROR 2020-01-18T01:34:07 Uncaught exception in NickAuth._callCommand:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/supybot/callbacks.py", line 1337, in _callCommand
    irc.errorNoCapability(cap)
  File "/usr/local/lib/python3.7/dist-packages/supybot/callbacks.py", line 544, in errorNoCapability
    raise Error()
supybot.callbacks.Error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/supybot/log.py", line 368, in m
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/supybot/callbacks.py", line 1359, in _callCommand
    irc.error(str(e))
  File "/usr/local/lib/python3.7/dist-packages/supybot/callbacks.py", line 1065, in error
    raise ArgumentError
supybot.callbacks.ArgumentError
```
2020-01-18 11:04:54 +01:00
..
__init__.py Fix core tests for Python 3 (actually imported + fixes). 2013-08-10 15:18:04 +02:00
test_callbacks.py Make irc.error do nothing is no string is given as argument. 2020-01-18 11:04:54 +01:00
test_commands.py Strip statusmsg chars in core to determine the actual channel. 2019-08-24 14:52:59 +02:00
test_dynamicScope.py Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
test_firewall.py Remove need for 2to3. 2015-08-11 16:50:23 +02:00
test_format.py Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
test_i18n.py Add a decorator to retry tests that fail often. 2015-08-11 17:13:27 +02:00
test_ircdb.py test: Mock calls to time.sleep() 2019-12-15 20:20:42 +01:00
test_irclib.py Split 'CAP REQ' commands to not exceed 512 bytes. 2019-10-25 23:07:31 +02:00
test_ircmsgs.py Interpret empty server tag values as missing tag values. 2019-09-08 14:47:05 +02:00
test_ircutils.py Strip statusmsg chars in core to determine the actual channel. 2019-08-24 14:52:59 +02:00
test_misc.py Plugin: accept author name in 'contributors' command 2019-11-16 11:41:13 -08:00
test_plugin_create.py test_plugin_create: skip if supybot-plugin-create is not installed 2018-06-25 14:04:45 -07:00
test_plugin.py Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
test_plugins.py ChannelLogger + Karka + all DB plugins: Sanitize channel names when used in filenames. 2019-09-06 20:42:13 +02:00
test_registry.py Add test for simple registry value inheritance. 2019-08-25 00:07:29 +02:00
test_schedule.py test: Mock calls to time.sleep() 2019-12-15 20:20:42 +01:00
test_standardSubstitute.py Strip statusmsg chars in core to determine the actual channel. 2019-08-24 14:52:59 +02:00
test_utils.py test: Mock calls to time.sleep() 2019-12-15 20:20:42 +01:00
test_yn.py tests: Use internal mock from Python 3.3+ if available 2015-04-26 22:49:02 -07:00
test.py Use __import__() instead of exec(). 2012-08-05 10:22:15 +02:00