def METHOD_NAME(self):
    new_attempt = {
        "challenge": "test_challenge",
        "attempt": "print('Hello World')",
        "status": "passed",
        "programming_language": "python",
    }
    url = reverse("plugging_it_in:save_attempt")
    self.client.post(url, json.dumps(new_attempt), content_type='application/json')
    self.assertEqual(
        self.client.session['saved_attempts']['test_challenge']['python'],
        {
            "status": "passed",
            "code": "print('Hello World')"
        }
    )