Could be solved by creating a try except block in the test that checks if connection status code is 200 else handle exception
Could be solved by creating a try except block in the test that checks if connection status code is 200 else handle exception