add category to Q and A
This commit is contained in:
12
tests.py
12
tests.py
@@ -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")))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user