tests/plugin_config_fail_test.py
raw| 1 | from os import path |
| 2 | |
| 3 | extra_plugin_dir = path.join( |
| 4 | path.dirname(path.realpath(__file__)), "fail_config_plugin" |
| 5 | ) |
| 6 | |
| 7 | |
| 8 | def test_failed_config(testbot): |
| 9 | assert ( |
| 10 | "Incorrect plugin configuration: Message explaining why it failed." |
| 11 | in testbot.exec_command("!plugin config Failp {}") |
| 12 | ) |