ChatMasterMind Application Refactor and Enhancement #8
@ -594,6 +594,12 @@ This is an answer.
|
||||
self.file_path_txt.unlink()
|
||||
self.file_yaml.close()
|
||||
self.file_path_yaml.unlink()
|
||||
self.file_txt_no_tags.close
|
||||
self.file_path_txt_no_tags.unlink()
|
||||
self.file_txt_tags_empty.close
|
||||
self.file_path_txt_tags_empty.unlink()
|
||||
self.file_yaml_no_tags.close()
|
||||
self.file_path_yaml_no_tags.unlink()
|
||||
|
||||
def test_tags_from_file_txt(self) -> None:
|
||||
tags = Message.tags_from_file(self.file_path_txt)
|
||||
@ -671,6 +677,7 @@ class TagsFromDirTestCase(CmmTestCase):
|
||||
|
||||
def tearDown(self) -> None:
|
||||
self.temp_dir.cleanup()
|
||||
self.temp_dir_no_tags.cleanup()
|
||||
|
||||
def test_tags_from_dir(self) -> None:
|
||||
all_tags = Message.tags_from_dir(pathlib.Path(self.temp_dir.name))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user