def create_fallback_list(self, list_object): fallback_list = FallbackList(list_object) return fallback_list
def setUp(self): self.list_strings = ["Element 1", "Element 2", "Element 3"] self.fallback_list = FallbackList(self.list_strings)