In this problem, you will see how to write a test and use the Flask test client for sending GET requests. Write the function test_app_using_test_client which accepts three parameters app, url and expected
appis a Flask app-
urlis a URL exposed via theapp expectedis the expected JSON response on sending a GET request to the URL.
Assert that the response's JSON is same as the expected variable.