def setUp(self): file1 = open('questions.txt', 'r') file2 = open('answers.txt', 'r') self.creation = FlashCards(file1, file2)