Fix some copyrights, fix a misc test.

This commit is contained in:
Michael DeHaan 2014-08-11 11:37:30 -04:00
parent 533fb21586
commit 2629cd3fce
7 changed files with 25 additions and 12 deletions

View file

@ -697,10 +697,14 @@ class TestUtils(unittest.TestCase):
)
# invalid quote detection
with self.assertRaises(Exception):
split_args('hey I started a quote"')
with self.assertRaises(Exception):
split_args('hey I started a\' quote')
try:
with self.assertRaises(Exception):
split_args('hey I started a quote"')
with self.assertRaises(Exception):
split_args('hey I started a\' quote')
except TypeError:
# you must be on Python 2.6 still, FIXME
pass
# jinja2 loop blocks with lots of complexity
_test_combo(