'Test that user get proper responses for urls with invalid url or
asset/course key'

def test_bad_contentstore_request(self):

    resp = self.client.get_html('/c4x/CDX/123123/asset/&invalid.png')
    self.assertEqual(resp.status_code, 400)
    resp = self.client.get_html('/c4x/CDX/123123/asset/invalid.png')
    self.assertEqual(resp.status_code, 404)
    with self.store.default_store(ModuleStoreEnum.Type.split):
        resp = self.client.get_html('/c4x/InvalidOrg/InvalidCourse/asset/invalid.png')
        self.assertEqual(resp.status_code, 404)
