def METHOD_NAME(self):
    url = reverse(
        enter_data,
        kwargs={
            "username": "nonexistentuser",
            "id_string": self.xform.id_string,
        },
    )
    response = self.anon.get(url)
    self.assertEqual(response.status_code, 404)