예제 #1
0
def test_006_summary_details(sut_handle):
    policygen1 = PolicyGen(sut_handle)
    appsummary = policygen1.app_summary()
    print(appsummary)
    print("Summary of Apps")
    if appsummary:
        result = client.send_post(
            'add_result/12380', {
                'status_id': 1,
                'comment': 'Marked using automation %s ' % appsummary
            })
        print(result)
        assert True
    else:
        result = client.send_post('add_result/12380', {
            'status_id': 5,
            'comment': 'Marked using automation'
        })
        assert False
예제 #2
0
def test_006_summary_details(sut_handle):
    policygen1 = PolicyGen(sut_handle)
    appsummary = policygen1.app_summary()
    print(appsummary)
    print("Summary of Apps")
    assert True