def test_is_on_allowlist_entry_disabled(self):
        """
        Test to verify that we will return False when the allowlist entry if it is disabled.
        """
        CertificateWhitelistFactory.create(course_id=self.course_run_key, user=self.user, whitelist=False)

        result = is_on_allowlist(self.user, self.course_run_key)
        assert not result