def test_get_substitution_from_config_finds_single_substitution():
    """
    Retrieve a single substitution from the config. Integration test--actually
    pulls from a file.
    """
    # This is hardcoded matching the value in the file.
    single_sub = substitute.Substitution('foo', 'bar', False)
    target = [single_sub]

    config_obj = _get_egrc_config(PATH_EGRC_SINGLE_SUB)

    actual = config.get_substitutions_from_config(config_obj)
    assert actual == target

    Retrieve a single substitution from the config. Integration test--actually
    pulls from a file.
    
test/config_test.py