From 391cc55537a97ec8b2b55662db9c63f86ab885ef Mon Sep 17 00:00:00 2001 From: Roald de Vries Date: Mon, 5 Dec 2016 10:32:12 +0100 Subject: get templates from pkg_resources --- service/test/integration/test_contacts.py | 1 - service/test/unit/test_welcome_mail.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'service/test') diff --git a/service/test/integration/test_contacts.py b/service/test/integration/test_contacts.py index 946818fd..a890466f 100644 --- a/service/test/integration/test_contacts.py +++ b/service/test/integration/test_contacts.py @@ -16,7 +16,6 @@ from test.support.integration import SoledadTestBase, MailBuilder from twisted.internet import defer import json -import pkg_resources class ContactsTest(SoledadTestBase): diff --git a/service/test/unit/test_welcome_mail.py b/service/test/unit/test_welcome_mail.py index 7eb65903..42e21e8d 100644 --- a/service/test/unit/test_welcome_mail.py +++ b/service/test/unit/test_welcome_mail.py @@ -41,8 +41,7 @@ class TestWelcomeMail(unittest.TestCase): with open(os.path.join(current_path, '..', '..', - 'pixelated', - 'assets', + 'templates', 'welcome.mail.pt-BR')) as mail_template_file: mail_template = message_from_file(mail_template_file) -- cgit v1.2.3