diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-05-05 16:23:50 -0700 |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-05-05 16:23:50 -0700 |
commit | 5dd7fa7c8df7f186abda7ac463c44fc70953cc27 (patch) | |
tree | 1ef5eb072129f7c2637f3bc78584bcec995e5c1f /pystache/tests/test_parser.py | |
parent | 01a2daf493d23fe8058ed64c522ddbe301b50db8 (diff) | |
download | pystache-5dd7fa7c8df7f186abda7ac463c44fc70953cc27.tar.gz |
Moved the default delimiters into pystache.defaults.
Diffstat (limited to 'pystache/tests/test_parser.py')
-rw-r--r-- | pystache/tests/test_parser.py | 3 |
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) |