mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-11 17:18:30 +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 unittest
|
||||||
import os
|
import os
|
||||||
from jrnl.Journal import Journal
|
from jrnl.Journal import Journal
|
||||||
|
import shutil
|
||||||
|
|
||||||
class TestClasses(unittest.TestCase):
|
class TestClasses(unittest.TestCase):
|
||||||
"""Test the behavior of the classes.
|
"""Test the behavior of the classes.
|
||||||
|
@ -24,8 +25,7 @@ class TestClasses(unittest.TestCase):
|
||||||
self.journal = Journal(config=self.config)
|
self.journal = Journal(config=self.config)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
# TODO: delete copied file, etc
|
shutil.rmtree(self.journal.data_path)
|
||||||
pass
|
|
||||||
|
|
||||||
def test_colon_in_textbody(self):
|
def test_colon_in_textbody(self):
|
||||||
"""colons should not cause problems in the text body"""
|
"""colons should not cause problems in the text body"""
|
||||||
|
|
Loading…
Add table
Reference in a new issue