mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
delete test data after testing
This commit is contained in:
parent
754a2d27ee
commit
6e70c005af
1 changed files with 2 additions and 2 deletions
|
@ -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"""
|
||||
|
|
Loading…
Add table
Reference in a new issue