Exemple #1
0
def test_007_delete_all_apps(sut_handle):
    policygen1 = PolicyGen(sut_handle)
    status = policygen1.delete_all()
    if status == 200:
        assert status == 200, ""
    else:
        assert False
def test_007_delete_all_apps(sut_handle):
    policygen1 = PolicyGen(sut_handle)
    status = policygen1.delete_all()
    if status == 200:
        result = client.send_post('add_result/12396', {
            'status_id': 1,
            'comment': 'Marked using automation '
        })
        print(result)
        assert status == 200, ""
    else:
        result = client.send_post('add_result/12396', {
            'status_id': 5,
            'comment': 'Marked using automation'
        })
        assert False