def test_text_lines_from_list_or_location_yield_same_results(self):
    test_file = self.get_test_loc('analysis/bsd-new')
    with open(test_file, 'rb') as inf:
        test_strings_list = inf.read().splitlines(True)
    from_loc = list(text_lines(location=test_file))
    from_list = list(text_lines(location=test_strings_list))
    assert (from_loc == from_list)
def test_text_lines_from_list_or_location_yield_same_results(self):
    test_file = self.get_test_loc('analysis/bsd-new')
    with open(test_file, 'rb') as inf:
        test_strings_list = inf.read().splitlines(True)
    from_loc = list(text_lines(location=test_file))
    from_list = list(text_lines(location=test_strings_list))
    assert (from_loc == from_list)