# Path: anchorhub/util/stripprefix.py
# def strip_prefix_from_list(list, strip):
#     """
#     Goes through a list of strings and removes the specified prefix from the
#     beginning of each string in place.
# 
#     :param list: a list of strings to be modified in place
#     :param strip: a string specifying the prefix to remove from the list
#     """
#     for i in range(len(list)):
#         list[i] = strip_prefix(list[i], strip)


from anchorhub.util.stripprefix import strip_prefix_from_list
"""
Tests for strip_prefix_from_list()

http://www.github.com/samjabrahams/anchorhub/util/strip_prefix.py
"""



def test_strip_prefix_from_list():
    """
    normalize_ops.py: Test strip_prefix_from_list()

    The function should remove the specified prefix from entries that have
    that prefix.
    """
    a = ['./abc', 'def', './../heya']

# Path: anchorhub/util/stripprefix.py
# def strip_prefix_from_list(list, strip):
#     """
#     Goes through a list of strings and removes the specified prefix from the
#     beginning of each string in place.
# 
#     :param list: a list of strings to be modified in place
#     :param strip: a string specifying the prefix to remove from the list
#     """
#     for i in range(len(list)):
#         list[i] = strip_prefix(list[i], strip)


# Path: anchorhub/util/tests/test_stripprefix.py
from anchorhub.util.stripprefix import strip_prefix_from_list

"""
Tests for strip_prefix_from_list()

http://www.github.com/samjabrahams/anchorhub/util/strip_prefix.py
"""



def test_strip_prefix_from_list():
    """
    normalize_ops.py: Test strip_prefix_from_list()

    The function should remove the specified prefix from entries that have
    that prefix.
    """
    a = ['./abc', 'def', './../heya']

    strip_prefix_from_list(a, './')