def setUp(self): with open(test.path('fixtures/tasksSample.md')) as f: self.content = f.read() self.parser = parsers.TasksParser('2015-01-01', self.content) with open(test.path('fixtures/tasksSampleSaved.md')) as f: self.expectedSavedContent = f.read()
def setUp(self): with open(test.path('fixtures/goalsSample.md')) as f: self.content = f.read() self.parser = parsers.GoalsParser(self.content)