'Given a ``HttpResponse`` coming back from using the ``client``, assert
that you get back:
* An HTTP 200
* The correct content-type (``application/json``)
* The content is valid JSON'

def assertValidJSONResponse(self, resp):

    self.assertHttpOK(resp)
    self.assertTrue(resp[u'Content-Type'].startswith(u'application/json'))
    self.assertValidJSON(force_text(resp.content))
