def generate_projwfc_node(generate_calc_job_node, fixture_localhost, tmpdir):
    """Fixture to constructure a ``projwfc.x`` calcjob node for a specified test."""

    def _generate_projwfc_node(test_name):
        """Generate a mock ``ProjwfcCalculation`` node for testing the parsing.

        :param test_name: The name of the test folder that contains the output files.
        """
        entry_point_calc_job = 'quantumespresso.projwfc'

        retrieve_temporary_list = ['data-file-schema.xml']
        attributes = {'retrieve_temporary_list': retrieve_temporary_list}

        node = generate_calc_job_node(
            entry_point_name=entry_point_calc_job,
            computer=fixture_localhost,
            test_name=test_name,
            attributes=attributes,
            retrieve_temporary=(tmpdir, retrieve_temporary_list)
        )
        return node

    return _generate_projwfc_node