Пример #1
0
def test_server_off_uniq():
    assert str(server.off('1')) == "{'status': 'success'}"
Пример #2
0
def test_server_off_many_range():
    assert str(server.off('1,2,3,4,5,9')) == "{'status': 'error'}"
Пример #3
0
def test_server_off_uniq_error():
    assert str(server.off('a')) == "{'status': 'error'}"
Пример #4
0
def test_server_off_many_error():
    assert str(server.off('b,2,3')) == "{'status': 'error'}"
Пример #5
0
def test_server_off_many():
    assert str(server.off('1,2,3')) == "{'status': 'success'}"