add category to Q and A

This commit is contained in:
dechert
2021-06-15 16:14:04 +02:00
parent ec4135035d
commit ccced3a981
3 changed files with 48 additions and 16 deletions

View File

@@ -5,14 +5,22 @@ import shutil
import converter
class TestDiary(unittest.TestCase):
# BASE_FODLER = "test_data"
def test_create_month_file_january(self):
# def test_basic_csv_input(self):
# # python command_line 2021-01
# BASE_FODLER = "test_data"
# converter.write_markdown_file('quiz-example.csv')
# # assert file was created
# assert(os.path.exists(os.path.join(BASE_FODLER, "slide-deck.md")))
def test_csv_input_with_categories(self):
# python command_line 2021-01
BASE_FODLER = "test_data"
converter.write_markdown_file('quiz-example.csv')
converter.write_markdown_file('quiz-example-with-category.csv')
# assert file was created
assert(os.path.exists(os.path.join(BASE_FODLER, "slide-deck.md")))