Skip to content

Commit

Permalink
local variable for log_id
Browse files Browse the repository at this point in the history
  • Loading branch information
lukavdplas committed Oct 11, 2023
1 parent ee9bc90 commit 7a88778
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/download/tests/test_full_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7a88778

Please sign in to comment.