def test_failed_on_commands(): pl = Plugin("") with pytest.raises(ValueError): pl.on_commands("bruh")
def test_clever_on_commands(): pl = Plugin("") pl.on_commands("bruh")