Add fourth work package for REST API implementation
[anna.git] / example / diameter / launcher / resources / rest_api / ct / fsm-testing / test-summary_test.py
1 import pytest
2
3
4 def test_001_i_want_to_retrieve_the_tests_pool_summary(b64_decode, mylogger, admlc):
5
6   # Send POST
7   response = admlc.post("/test-summary")
8
9   # Verify response is ok (omit response content because it is dynamic: will be logged)
10   assert response["status"] == 200
11   assert response["body"]["success"] == "true"
12   body_response = b64_decode(response["body"]["response"])
13   mylogger.info("\nBASE64 DECODED RESPONSE: \n\n" + body_response)
14