delete test data after testing

This commit is contained in:
Stephan Gabler 2012-07-18 10:53:25 +02:00
parent 754a2d27ee
commit 6e70c005af

View file

@ -4,6 +4,7 @@
import unittest
import os
from jrnl.Journal import Journal
import shutil
class TestClasses(unittest.TestCase):
"""Test the behavior of the classes.
@ -24,8 +25,7 @@ class TestClasses(unittest.TestCase):
self.journal = Journal(config=self.config)
def tearDown(self):
# TODO: delete copied file, etc
pass
shutil.rmtree(self.journal.data_path)
def test_colon_in_textbody(self):
"""colons should not cause problems in the text body"""