from typing import Any
import pkg_resources
import logging


def setup_integration_tests(logging_mixin: Any) -> str:
    """ Setup shared expected values for the fit integration tests. """
    sample_data_filename = pkg_resources.resource_filename("reaction_plane_fit.sample_data", "three_orientations.root")

    # Quiet down matplotlib if it's available. It's extremely noisy!
    logging.getLogger("matplotlib").setLevel(logging.INFO)

    return sample_data_filename