Add unit tests for our mail API

This commit is contained in:
Raphael Michel
2015-06-03 18:09:00 +02:00
parent 6e8d143c36
commit fad8605aa7
7 changed files with 82 additions and 3 deletions

5
src/tests/settings.py Normal file
View File

@@ -0,0 +1,5 @@
from pretix.settings import *
TEST_DIR = os.path.dirname(__file__)
TEMPLATES[0]['DIRS'].append(os.path.join(TEST_DIR, 'templates'))