def METHOD_NAME(self, response, msg):
    """Ensure POST form is ok and return created client"""
    self.assertEqual(response.status_code, 200, msg)
    response_data = json.loads(response.content)
    self.assertTrue(response_data["success"], msg)
    self.assertIn("client_id", response_data, msg)
    self.assertIn("client_name", response_data, msg)
    return Client.objects.get(id=int(response_data["client_id"]))