Skip to content

Commit

Permalink
test(test_render_mail.py): update relative path to fetch data correctly
Browse files Browse the repository at this point in the history
Issue pycontw#7
  • Loading branch information
tai271828 committed May 25, 2020
1 parent b768850 commit 524a3d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_render_mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
from render_mail import main


path_j2 = "../templates/sponsorship/spam_sponsors_2020.j2"
path_receivers_json = "../examples/sponsorship/spam_sponsors_2020.json"
path_j2 = "./templates/sponsorship/spam_sponsors_2020.j2"
path_receivers_json = "./examples/sponsorship/spam_sponsors_2020.json"
path_mails_to_send_no_separator = "/tmp/mails_to_send/no-separator"
path_mails_to_send_with_separator = "/tmp/mails_to_send/with-separator"
path_pre_rendered_mails_no_separator = "./data/no-separator"
path_pre_rendered_mails_with_separator = "./data/with-separator"
path_pre_rendered_mails_no_separator = "./tests/data/no-separator"
path_pre_rendered_mails_with_separator = "./tests/data/with-separator"


@pytest.fixture
Expand Down

0 comments on commit 524a3d4

Please sign in to comment.