mjia / waiverdb

Forked from waiverdb 7 years ago
Clone

dcacb87 Added test for 404 and 500 and json format

Authored and Committed by gnaponie 6 years ago
    Added test for 404 and 500 and json format
    Added test for:
    * a request with 404 status code
    * a request with 500 status code, mocking a ConnectionError even if it should be a response with status code 200
    * check if the response of the error is in JSON format
    
        
file modified
+14 -0
file modified
+3 -3