def METHOD_NAME(self):
    factories.EncryptedPasswordProfileFactory(
        user=self.user, password_profile="encrypted_content"
    )
    request = self.client.get("/api/encrypted_password_profiles/")
    self.assertEqual(1, len(request.data["results"]))
    self.assertEqual(
        "encrypted_content",
        request.data["results"][0]["password_profile"],
    )