Exemplo n.º 1
0
def test_register_not_callable_object():
    robot = WeRoBot(SESSION_STORAGE=False)
    with pytest.raises(ValueError):
        robot.add_handler("s")
Exemplo n.º 2
0
def test_register_not_callable_object():
    robot = WeRoBot(SESSION_STORAGE=False)
    with pytest.raises(ValueError):
        robot.add_handler("s")
Exemplo n.º 3
0
def test_register_not_callable_object():
    robot = WeRoBot(enable_session=False)
    with pytest.raises(ValueError):
        robot.add_handler("s")
Exemplo n.º 4
0
def test_register_not_callable_object():
    robot = WeRoBot(enable_session=False)
    with pytest.raises(ValueError):
        robot.add_handler("s")
Exemplo n.º 5
0
def test_register_not_callable_object():
    robot = WeRoBot()
    robot.add_handler("s")
Exemplo n.º 6
0
def test_register_not_callable_object():
    robot = WeRoBot()
    robot.add_handler("s")