From 7a8877882f48fc2884974fbe48759d278f0d24a9 Mon Sep 17 00:00:00 2001 From: Luka van der Plas Date: Wed, 11 Oct 2023 18:00:16 +0200 Subject: [PATCH] local variable for log_id --- backend/download/tests/test_full_data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/download/tests/test_full_data.py b/backend/download/tests/test_full_data.py index fccca3e6d..47e553310 100644 --- a/backend/download/tests/test_full_data.py +++ b/backend/download/tests/test_full_data.py @@ -24,7 +24,8 @@ def test_timeline_full_data(small_mock_corpus, index_small_mock_corpus, small_mo group = tasks.term_frequency_full_data_tasks(full_data_parameters, 'date_term_frequency') results = group.apply().get() - filename = tasks.make_term_frequency_csv(results, full_data_parameters, 0) + log_id = 0 # fake ID + filename = tasks.make_term_frequency_csv(results, full_data_parameters, log_id) with open(filename) as f: reader = csv.DictReader(f)