tests/matchall_test.py
raw| 1 | # coding=utf-8 |
| 2 | from os import path |
| 3 | |
| 4 | import pytest |
| 5 | |
| 6 | extra_plugin_dir = path.join(path.dirname(path.realpath(__file__)), "matchall_plugin") |
| 7 | |
| 8 | |
| 9 | def test_botmatch_correct(testbot): |
| 10 | assert "Works!" in testbot.exec_command("hi hi hi") |
| 11 | |
| 12 | |
| 13 | def test_botmatch(testbot): |
| 14 | assert "Works!" in testbot.exec_command("123123") |