Skip to content

Commit

Permalink
Fix sample data test path
Browse files Browse the repository at this point in the history
  • Loading branch information
silvexis committed Aug 17, 2024
1 parent 62ca6db commit b7e757b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/features/test_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Direct all questions to [email protected]

import datetime
import os

from uca.common.files import load_data_files
from uca.features.generate import _render_uca_data, generate_uca
Expand Down Expand Up @@ -65,7 +66,9 @@ def test_generate_uca_data_from_CSV(input_settings, input_template):
None
"""
test_data = load_data_files("../data/test_data.csv", "CSV")
test_data_file = os.path.join(os.path.dirname(__file__), "../data/test_data.csv")

test_data = load_data_files(test_data_file, "CSV")
uca_to_send = generate_uca(None, input_template, input_settings, test_data)
assert len(uca_to_send) == 12
for x, li in enumerate(uca_to_send):
Expand Down

0 comments on commit b7e757b

Please sign in to comment.