def test_config(config_file):

    """Decorator to overwrite config file for one test."""

    def test_decorator(fn):
        """Decorate function."""
        fn.config_file = config_file
        return fn
    return test_decorator