From 5d4547986f30606fade79910093fa1447d6051c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E5=BF=86=E5=BC=80?= <余忆开@2291723778@qq.com> Date: Mon, 3 Jun 2024 10:32:48 +0800 Subject: [PATCH] Fix bug 533 --- app/test/test_bug533_Yuyikai.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test/test_bug533_Yuyikai.py b/app/test/test_bug533_Yuyikai.py index e5a2119..2ba4d5c 100644 --- a/app/test/test_bug533_Yuyikai.py +++ b/app/test/test_bug533_Yuyikai.py @@ -5,8 +5,8 @@ from app.main import load_word_list, calculate_coverage def test_coverage_percentage(): try: - db_file = 'static/wordfreqapp.db' - csv_file = 'static/The_Oxford.csv' + db_file = "db\wordfreqapp.db" + csv_file = "db\The_Oxford.csv" text_list = load_text_list_from_db(db_file) word_set = load_word_list(csv_file) coverage_percentage = "{:.2f}".format(calculate_coverage(text_list, word_set))