summaryrefslogtreecommitdiff
path: root/pystache/tests/test_parser.py
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-10-20 15:57:23 -0700
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-10-20 15:57:23 -0700
commitba5ef6d31eb2705df846444b56893b555948fbf8 (patch)
treeadf04a7e2df34a7442b448573593cf316b3fca88 /pystache/tests/test_parser.py
parentb8a3d0c6cea62874bac2414db2c06856293d8877 (diff)
parent5e9a226992ce9b3c9fa1ecd9de700b8d8ff4f136 (diff)
downloadpystache-ba5ef6d31eb2705df846444b56893b555948fbf8.tar.gz
Merge branch 'development' into 'master': staging v0.5.3-rc
Diffstat (limited to 'pystache/tests/test_parser.py')
-rw-r--r--pystache/tests/test_parser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pystache/tests/test_parser.py b/pystache/tests/test_parser.py
index 4aa0959..92248ea 100644
--- a/pystache/tests/test_parser.py
+++ b/pystache/tests/test_parser.py
@@ -7,6 +7,7 @@ Unit tests of parser.py.
import unittest
+from pystache.defaults import DELIMITERS
from pystache.parser import _compile_template_re as make_re
@@ -19,7 +20,7 @@ class RegularExpressionTestCase(unittest.TestCase):
Test getting a key from a dictionary.
"""
- re = make_re()
+ re = make_re(DELIMITERS)
match = re.search("b {{test}}")
self.assertEqual(match.start(), 1)