Skip to content

Commit 524a3d4

Browse files
committed
test(test_render_mail.py): update relative path to fetch data correctly
Issue pycontw#7
1 parent b768850 commit 524a3d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_render_mail.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
from render_mail import main
88

99

10-
path_j2 = "../templates/sponsorship/spam_sponsors_2020.j2"
11-
path_receivers_json = "../examples/sponsorship/spam_sponsors_2020.json"
10+
path_j2 = "./templates/sponsorship/spam_sponsors_2020.j2"
11+
path_receivers_json = "./examples/sponsorship/spam_sponsors_2020.json"
1212
path_mails_to_send_no_separator = "/tmp/mails_to_send/no-separator"
1313
path_mails_to_send_with_separator = "/tmp/mails_to_send/with-separator"
14-
path_pre_rendered_mails_no_separator = "./data/no-separator"
15-
path_pre_rendered_mails_with_separator = "./data/with-separator"
14+
path_pre_rendered_mails_no_separator = "./tests/data/no-separator"
15+
path_pre_rendered_mails_with_separator = "./tests/data/with-separator"
1616

1717

1818
@pytest.fixture

0 commit comments

Comments
 (0)