Пример #1
0
 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()
Пример #2
0
 def setUp(self):
     with open(test.path('fixtures/goalsSample.md')) as f:
         self.content = f.read()
         self.parser = parsers.GoalsParser(self.content)