summaryrefslogtreecommitdiff
path: root/service/test
diff options
context:
space:
mode:
authorRoald de Vries <rdevries@thoughtworks.com>2016-12-05 10:32:12 +0100
committerRoald de Vries <rdevries@thoughtworks.com>2016-12-05 10:32:12 +0100
commit391cc55537a97ec8b2b55662db9c63f86ab885ef (patch)
tree3dcf6adc12efa9a84e02f9340fae925b057fcb89 /service/test
parenta0de084e04f02a5f09d5a14b86ece156f4f6df5f (diff)
get templates from pkg_resources
Diffstat (limited to 'service/test')
-rw-r--r--service/test/integration/test_contacts.py1
-rw-r--r--service/test/unit/test_welcome_mail.py3
2 files changed, 1 insertions, 3 deletions
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)