def test_003_implement_all_commonservices(sut_handle): policygen1 = PolicyGen(sut_handle) status = policygen1.implement_all_commonservices() print("Implement all common services has completed successfully") if status ==200: assert status == 200, "Implement all common services has completed " else: print(status) assert False
def test_003_implement_all_commonservices(sut_handle): policygen1 = PolicyGen(sut_handle) status = policygen1.implement_all_commonservices() print("Implement all common services has completed successfully") if status == 200: result = client.send_post('add_result/12281', { 'status_id': 1, 'comment': 'Marked using automation' }) print(result) assert status == 200, "Implement all common services has completed " else: result = client.send_post( 'add_result/12281', { 'status_id': 5, 'comment': 'Marked using automation - Failed to purge data %s' % status }) print(status) assert False